first commit
This commit is contained in:
21
MyNewProjectName.Domain/Exceptions/DomainException.cs
Normal file
21
MyNewProjectName.Domain/Exceptions/DomainException.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user