namespace Indotalent.ConfigBackEnd.Exceptions;

public class AlreadyExistsException : Exception
{
    public AlreadyExistsException()
        : base()
    {
    }

    public AlreadyExistsException(string message)
        : base(message)
    {
    }

    public AlreadyExistsException(string message, Exception innerException)
        : base(message, innerException)
    {
    }

    public AlreadyExistsException(string name, object key)
        : base($"Entity \"{name}\" ({key}) already exists.")
    {
    }
}