survey-webapp/SurveyBackend/SurveyBackend.Services/Exceptions/UnauthorizedException.cs

10 lines
No EOL
224 B
C#

namespace SurveyBackend.Services.Exceptions;
public class UnauthorizedException : ServiceException
{
public override int StatusCode => 401;
public UnauthorizedException(string message) : base(message)
{
}
}