summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-30 12:46:23 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-01 00:16:54 -0400
commit187d8e215fb157edaa9f3976bebba9a9a7ed103d (patch)
tree140cbfbd109281adc87c9c79ee07976ba54888cd /src/core/core.h
parent9d59b96ef907e8be2560107485f7616a2234c4a8 (diff)
Use more descriptive error codes and messages
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/core.h b/src/core/core.h
index c123fe401..a90bff3df 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -43,12 +43,14 @@ public:
/// Enumeration representing the return values of the System Initialize and Load process.
enum class ResultStatus : u32 {
- Success, ///< Succeeded
- ErrorNotInitialized, ///< Error trying to use core prior to initialization
- ErrorGetLoader, ///< Error finding the correct application loader
- ErrorSystemMode, ///< Error determining the system mode
- ErrorLoader, ///< Error loading the specified application
- ErrorLoader_ErrorEncrypted, ///< Error loading the specified application due to encryption
+ Success, ///< Succeeded
+ ErrorNotInitialized, ///< Error trying to use core prior to initialization
+ ErrorGetLoader, ///< Error finding the correct application loader
+ ErrorSystemMode, ///< Error determining the system mode
+ ErrorLoader, ///< Error loading the specified application
+ ErrorLoader_ErrorMissingKeys, ///< Error because the key/keys needed to run could not be
+ ///< found.
+ ErrorLoader_ErrorDecrypting, ///< Error loading the specified application due to encryption
ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an
/// invalid format
ErrorSystemFiles, ///< Error in finding system files