ExceptionEnum.cs 1003 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. AttachmentsRequired = 13,
  23. CouldNotMoveFiles = 14,
  24. MapperIssue = 15,
  25. InCorrectFileLength = 16,
  26. WrongOTP = 17,
  27. EmptyResponse=18,
  28. ErrorSendingSMS=19,
  29. InvalidCaptcha = 20,
  30. AccountLocked = 21,
  31. InvalidFileType = 22,
  32. NoVacationBalance = 23,
  33. EmailNotExist = 24,
  34. RecordPhoneAlreadyExist = 25,
  35. UserNotExist=26,
  36. UserAlreadyCheckedIn= 27,
  37. }
  38. }