ExceptionEnum.cs 976 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MTWorkHR.Core.Global
  7. {
  8. public enum ExceptionEnum
  9. {
  10. RecordNotExist = 1,
  11. ModelNotValid = 2,
  12. NotAuthorized = 3,
  13. PropertyNotAccess = 4,
  14. WrongCredentials = 5,
  15. RecordCannotBeDelete = 6,
  16. RecordAlreadyExist = 7,
  17. RecordCreationFailed = 8,
  18. RecordUpdateFailed = 9,
  19. RecordDeleteFailed = 10,
  20. RecordNameAlreadyExist = 11,
  21. RecordEmailAlreadyExist = 12,
  22. TenancyNameAlreadyExist = 13,
  23. TenantExpected = 14,
  24. TenantNotZero = 15,
  25. AttachmentsRequired = 16,
  26. CouldNotMoveFiles = 17,
  27. MapperIssue = 18,
  28. InCorrectFileLength = 19,
  29. WrongOTP = 20,
  30. EmptyResponse=21,
  31. ErrorSendingSMS=22,
  32. InvalidCaptcha = 23,
  33. AccountLocked = 24,
  34. InvalidFileType = 25,
  35. FileLengthNotCorrect= 26,
  36. }
  37. }