12 lines
299 B
C#
12 lines
299 B
C#
namespace MikrocopApi.Exceptions;
|
|
|
|
public sealed class UnauthorizedException : AppException
|
|
{
|
|
public UnauthorizedException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public override int StatusCode => StatusCodes.Status401Unauthorized;
|
|
public override string Title => "Unauthorized";
|
|
}
|