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

12 lines
382 B
C#

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";
}
}