25#include "common/str.h"
ErrorCode _code
Definition: error.h:83
ErrorCode getCode() const
Definition: error.h:112
Error(ErrorCode code=kUnknownError)
String _desc
Definition: error.h:84
U32String getTranslatedDesc() const
Error(ErrorCode code, const String &extra)
ErrorCode
Definition: error.h:47
@ kAudioDeviceInitFailed
Engine initialization: Audio device initialization failed.
Definition: error.h:53
@ kWritingFailed
Failure to write data - disk full?
Definition: error.h:64
@ kPathNotFile
The specified path does not point to a file.
Definition: error.h:60
@ kUnknownError
Catch-all error, used if no other error code matches.
Definition: error.h:72
@ kPathDoesNotExist
The specified path does not exist.
Definition: error.h:58
@ kUserCanceled
User has canceled the launching of the game.
Definition: error.h:70
@ kCreatingFileFailed
Failed creating a (savestate) file.
Definition: error.h:62
@ kReadingFailed
Failed to read a file (permission denied?).
Definition: error.h:63
@ kReadPermissionDenied
Unable to read data due to missing read permission.
Definition: error.h:55
@ kPathNotDirectory
The specified path does not point to a directory.
Definition: error.h:59
@ kEnginePluginNotFound
Failed to find an Engine plugin to handle target.
Definition: error.h:67
@ kEnginePluginNotSupportSaves
The plugin does not support listing save states.
Definition: error.h:68
@ kMetaEnginePluginNotFound
Failed to find a MetaEnginePlugin.
Definition: error.h:66
@ kWritePermissionDenied
Unable to write data due to missing write permission.
Definition: error.h:56
@ kUnsupportedColorMode
Engine initialization: Engine does not support backend's color mode.
Definition: error.h:52
@ kNoError
No error occurred.
Definition: error.h:48
@ kUnsupportedGameidError
Engine initialization: Game ID not supported by this (Meta)Engine.
Definition: error.h:51
@ kNoGameDataFoundError
Engine initialization: No game data was found in the specified location.
Definition: error.h:50
Definition: algorithm.h:29