using Galaeth.Core.Exceptions; using Galaeth.Services.Constants; namespace Galaeth.Services.Exceptions; /// /// Thrown when the logging in user is suspended. /// public class UserSuspendedException : ServiceException { /// /// Initializes a new instance of the class. /// public UserSuspendedException() : base(ServiceErrorCodes.SuspendedUser, "You are suspended from logging in", System.Net.HttpStatusCode.Unauthorized) { } }