You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526
  1. namespace Luticate2.Auth.Dbo.Result
  2. {
  3. /// <summary>
  4. /// Represents a success or error code used for <see cref="LuResult{T}"/>.
  5. /// Codes strictly less than 1000 are reserved. Any other value can be used by user for custom error reporting.
  6. /// </summary>
  7. public enum LuStatus
  8. {
  9. // Success
  10. Success = 1,
  11. // Generic errors
  12. InternalError = 10,
  13. InputError = 11,
  14. NotFound = 12,
  15. // Backend errors
  16. BackendError = 20,
  17. DbError = 21,
  18. FsError = 22,
  19. // Auth errors
  20. LoginError = 30,
  21. PermissionError = 31
  22. }
  23. }