aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.UI.Common/UserError.cs
blob: 706971efa2df47c29ed794182a0433e24de629e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace Ryujinx.UI.Common
{
    /// <summary>
    /// Represent a common error that could be reported to the user by the emulator.
    /// </summary>
    public enum UserError
    {
        /// <summary>
        /// No error to report.
        /// </summary>
        Success = 0x0,

        /// <summary>
        /// No keys are present.
        /// </summary>
        NoKeys = 0x1,

        /// <summary>
        /// No firmware is installed.
        /// </summary>
        NoFirmware = 0x2,

        /// <summary>
        /// Firmware parsing failed.
        /// </summary>
        /// <remarks>Most likely related to keys.</remarks>
        FirmwareParsingFailed = 0x3,

        /// <summary>
        /// No application was found at the given path.
        /// </summary>
        ApplicationNotFound = 0x4,

        /// <summary>
        /// An unknown error.
        /// </summary>
        Unknown = 0xDEAD,
    }
}