feat(enum): add new error module entries

- Added new error modules to the `ErrorModule` enum:
  - `Nverpt (520)`
  - `Am_StuckMonitor (521)`
  - `Pia (618)`
  - `Eagle (623)`
  - `Coral (815)`
This commit is contained in:
Phoenix 2024-09-10 20:06:58 +10:00
parent 78b74180e5
commit 2f6957b97c

View File

@ -16,6 +16,7 @@
* chain, meaning that this doesn't always correspond to the module where the API call made is
* contained.
*/
enum class ErrorModule : u32 {
enum class ErrorModule : u32 {
Common = 0,
Kernel = 1,
@ -183,6 +184,17 @@ enum class ErrorModule : u32 {
WifiWebAuthApplet = 809,
WhitelistedApplet = 810,
ShopN = 811,
// New entries
Nverpt = 520,
Am_StuckMonitor = 521,
Pia = 618,
Eagle = 623,
LibAppletWeb = 800,
LibAppletAuth = 809,
LibAppletLns = 810,
LibAppletShop = 811,
Coral = 815
};
/// Encapsulates a Horizon OS error code, allowing it to be separated into its constituent fields.