ExceptionEnum.cs 969 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. }
  37. }