diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2016-11-03 17:03:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 17:03:23 +0100 |
commit | 69932149bbbb24dd6f6f25877afc3b5cc0ca16ad (patch) | |
tree | c8b6c4d7d0f638812d12fdd509dfb1ea229a83f7 /core | |
parent | a262524a43d7468c48cb4f7d5b79dfa90d308ae1 (diff) | |
parent | 42f23801907f8756ae902e90834ec734e6546bb4 (diff) |
Merge pull request #7031 from volzhs/fix-wrong-index
Fix wrong number for ERR_* on comment
Diffstat (limited to 'core')
-rw-r--r-- | core/error_list.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/core/error_list.h b/core/error_list.h index cb531f527f..154af679fc 100644 --- a/core/error_list.h +++ b/core/error_list.h @@ -57,33 +57,33 @@ enum Error { ERR_FILE_MISSING_DEPENDENCIES, ERR_FILE_EOF, ERR_CANT_OPEN, ///< Can't open a resource/socket/file - ERR_CANT_CREATE, - ERROR_QUERY_FAILED, // (20) + ERR_CANT_CREATE, // (20) + ERROR_QUERY_FAILED, ERR_ALREADY_IN_USE, ERR_LOCKED, ///< resource is locked ERR_TIMEOUT, - ERR_CANT_CONNECT, - ERR_CANT_RESOLVE, // (25) + ERR_CANT_CONNECT, // (25) + ERR_CANT_RESOLVE, ERR_CONNECTION_ERROR, ERR_CANT_AQUIRE_RESOURCE, ERR_CANT_FORK, - ERR_INVALID_DATA, ///< Data passed is invalid - ERR_INVALID_PARAMETER, ///< Parameter passed is invalid (30) + ERR_INVALID_DATA, ///< Data passed is invalid (30) + ERR_INVALID_PARAMETER, ///< Parameter passed is invalid ERR_ALREADY_EXISTS, ///< When adding, item already exists ERR_DOES_NOT_EXIST, ///< When retrieving/erasing, it item does not exist ERR_DATABASE_CANT_READ, ///< database is full - ERR_DATABASE_CANT_WRITE, ///< database is full - ERR_COMPILATION_FAILED, // (35) + ERR_DATABASE_CANT_WRITE, ///< database is full (35) + ERR_COMPILATION_FAILED, ERR_METHOD_NOT_FOUND, ERR_LINK_FAILED, ERR_SCRIPT_FAILED, - ERR_CYCLIC_LINK, - ERR_INVALID_DECLARATION, // (40) + ERR_CYCLIC_LINK, // (40) + ERR_INVALID_DECLARATION, ERR_DUPLICATE_SYMBOL, ERR_PARSE_ERROR, ERR_BUSY, - ERR_SKIP, - ERR_HELP, ///< user requested help!! (45) + ERR_SKIP, // (45) + ERR_HELP, ///< user requested help!! ERR_BUG, ///< a bug in the software certainly happened, due to a double check failing or unexpected behavior. ERR_PRINTER_ON_FIRE, /// the parallel port printer is engulfed in flames ERR_OMFG_THIS_IS_VERY_VERY_BAD, ///< shit happens, has never been used, though |