22 lines
400 B
C#
22 lines
400 B
C#
namespace MyNewProjectName.Domain.Exceptions;
|
|
|
|
/// <summary>
|
|
/// Base exception for domain layer
|
|
/// </summary>
|
|
public class DomainException : Exception
|
|
{
|
|
public DomainException()
|
|
{
|
|
}
|
|
|
|
public DomainException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public DomainException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
}
|