patbef-ServiceOutside/ServiceShared/Models/Response/Exception/NotAuthorizedException.cs

12 lines
382 B
C#
Raw Normal View History

2024-01-29 16:27:34 +01:00
namespace ServiceShared.Models.Response.Exception
{
/// <summary>
/// This exception will be thrown when the required action by client is not authorized
/// </summary>
public class NotAuthorizedException : ResponseException
{
public override Types error_type => Types.NotAuthorized;
public override string message => "not authorized";
}
}