Пример #1
0
 public SendEmailBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 400008;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public FileInvalidTypeBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 400007;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
Пример #3
0
 public UnauthorizedException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 401001;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
Пример #4
0
 public OldPasswordIncorrectBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 400004;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public RefreshTokenNotFoundException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 404003;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public PasswordsDoesntMatchBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 400003;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public InvalidRefreshTokenBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 4000010;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public AccountInactiveForbiddenException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 403001;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public SettingNotFoundException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 404002;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }
 public PasswordRequirementsBadRequestException(IStringLocalizer <object> localizer) : base()
 {
     CustomCode    = 400002;
     CustomMessage = localizer.GetString(CustomCode.ToString());
 }