UserError.cs 923 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace Ryujinx.Ui.Common
  2. {
  3. /// <summary>
  4. /// Represent a common error that could be reported to the user by the emulator.
  5. /// </summary>
  6. public enum UserError
  7. {
  8. /// <summary>
  9. /// No error to report.
  10. /// </summary>
  11. Success = 0x0,
  12. /// <summary>
  13. /// No keys are present.
  14. /// </summary>
  15. NoKeys = 0x1,
  16. /// <summary>
  17. /// No firmware is installed.
  18. /// </summary>
  19. NoFirmware = 0x2,
  20. /// <summary>
  21. /// Firmware parsing failed.
  22. /// </summary>
  23. /// <remarks>Most likely related to keys.</remarks>
  24. FirmwareParsingFailed = 0x3,
  25. /// <summary>
  26. /// No application was found at the given path.
  27. /// </summary>
  28. ApplicationNotFound = 0x4,
  29. /// <summary>
  30. /// An unknown error.
  31. /// </summary>
  32. Unknown = 0xDEAD
  33. }
  34. }