using Galaeth.Core.Exceptions;
using Galaeth.Services.Constants;
namespace Galaeth.Services.Exceptions;
///
/// Thrown when the logging in user is suspended.
///
public class UserNotActivatedException : ServiceException
{
///
/// Initializes a new instance of the class.
///
public UserNotActivatedException()
: base(ServiceErrorCodes.SuspendedUser, "Your account is pending activation. Please check your emails", System.Net.HttpStatusCode.Unauthorized)
{
}
}