23 lines
565 B
C#
23 lines
565 B
C#
namespace Core_Archi.Exceptions
|
|
{
|
|
public class NotFoundException : Exception
|
|
{
|
|
public NotFoundException(string message) : base(message) { }
|
|
}
|
|
|
|
public class BadRequestException : Exception
|
|
{
|
|
public BadRequestException(string message) : base(message) { }
|
|
}
|
|
|
|
public class UnauthorizedException : Exception
|
|
{
|
|
public UnauthorizedException(string message) : base(message) { }
|
|
}
|
|
|
|
public class ForbiddenException : Exception
|
|
{
|
|
public ForbiddenException(string message) : base(message) { }
|
|
}
|
|
}
|