aboutsummaryrefslogtreecommitdiff
path: root/common/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/error.h')
-rw-r--r--common/error.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/error.h b/common/error.h
index c4d383e508..7aff8d40b9 100644
--- a/common/error.h
+++ b/common/error.h
@@ -59,10 +59,16 @@ enum Error {
kPathNotDirectory, ///< The specified path does not point to a directory
kPathNotFile, ///< The specified path does not point to a file
- kCreatingFileFailed,
- kReadingFailed, ///< Failed creating a (savestate) file
+ kCreatingFileFailed, ///< Failed creating a (savestate) file
+ kReadingFailed, ///< Failed to read a file (permission denied?)
kWritingFailed, ///< Failure to write data -- disk full?
+ // The following are used by --list-saves
+ kPluginNotFound, ///< Failed to find plugin to handle tager
+ kPluginNotSupportSaves, ///< Failed if plugin does not support saves
+ kNoSavesError, ///< There are no saves to show
+
+ kArgumentNotProcessed, ///< Used in command line parsing
kUnknownError ///< Catch-all error, used if no other error code matches
};