initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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.")
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user