common error code definition More...

Go to the source code of this file.
Functions | |
| unsigned int | errorcode (const char *errorName) |
| get new error code More... | |
| const char * | errorstring (unsigned int errorCode) |
| get error string for an existing error More... | |
| void | errorcleanup (void) |
| deallocate error strings object | |
Variables | |
| const unsigned int | ERR_OK = errorcode( "ok" ) |
| const unsigned int | ERR_FILE_NOT_FOUND = errorcode( "file not found" ) |
| const unsigned int | ERR_FILE_OPEN_FAILED = errorcode( "file open failed" ) |
| const unsigned int | ERR_FILE_CLOSE_FAILED = errorcode( "file close failed" ) |
| const unsigned int | ERR_FILE_READ_FAILED = errorcode( "file read failed" ) |
| const unsigned int | ERR_FILE_WRITE_FAILED = errorcode( "file write failed" ) |
| const unsigned int | ERR_PATH_IS_DIRECTORY = errorcode( "path is a directory" ) |
| const unsigned int | ERR_ILLEGAL_FILE = errorcode( "illegal file" ) |
| const unsigned int | ERR_ILLEGAL_NAME = errorcode( "illegal name" ) |
| const unsigned int | ERR_ILLEGAL_VALUE = errorcode( "illegal value" ) |
| const unsigned int | ERR_NULL_POINTER = errorcode( "null pointer" ) |
| const unsigned int | ERR_DB = errorcode( "database" ) |
| const unsigned int | ERR_OTHER = errorcode( "other" ) |
| const unsigned int | ERR_FILE_PARMISSIONS_ILLEGAL = errorcode( "file permisions is illegal" ) |
common error code definition
Copyright(C) 2006-2014 Eisai Co., Ltd. All rights reserved.
Definition in file ErrorCode.h.
| unsigned int errorcode | ( | const char * | errorName | ) |
get new error code
| errorName | error name |
Definition at line 23 of file ErrorCode.cpp.
| const char* errorstring | ( | unsigned int | errorCode | ) |
get error string for an existing error
| errorCode | error code |
Definition at line 60 of file ErrorCode.cpp.
| const unsigned int ERR_DB = errorcode( "database" ) |
DB error
Definition at line 72 of file ErrorCode.h.
| const unsigned int ERR_FILE_CLOSE_FAILED = errorcode( "file close failed" ) |
It failed to close a file
Definition at line 48 of file ErrorCode.h.
| const unsigned int ERR_FILE_NOT_FOUND = errorcode( "file not found" ) |
File is not found.
Definition at line 42 of file ErrorCode.h.
| const unsigned int ERR_FILE_OPEN_FAILED = errorcode( "file open failed" ) |
It failed to open a file
Definition at line 45 of file ErrorCode.h.
| const unsigned int ERR_FILE_PARMISSIONS_ILLEGAL = errorcode( "file permisions is illegal" ) |
File permissions is illegal
Definition at line 79 of file ErrorCode.h.
| const unsigned int ERR_FILE_READ_FAILED = errorcode( "file read failed" ) |
It failed to read a file
Definition at line 51 of file ErrorCode.h.
| const unsigned int ERR_FILE_WRITE_FAILED = errorcode( "file write failed" ) |
It failed to write a file
Definition at line 54 of file ErrorCode.h.
| const unsigned int ERR_ILLEGAL_FILE = errorcode( "illegal file" ) |
File is illegal
Definition at line 60 of file ErrorCode.h.
| const unsigned int ERR_ILLEGAL_NAME = errorcode( "illegal name" ) |
Name is illegal
Definition at line 63 of file ErrorCode.h.
| const unsigned int ERR_ILLEGAL_VALUE = errorcode( "illegal value" ) |
Value is illegal
Definition at line 66 of file ErrorCode.h.
| const unsigned int ERR_NULL_POINTER = errorcode( "null pointer" ) |
The pointer is null
Definition at line 69 of file ErrorCode.h.
| const unsigned int ERR_OK = errorcode( "ok" ) |
OK
Definition at line 39 of file ErrorCode.h.
| const unsigned int ERR_OTHER = errorcode( "other" ) |
etc
Definition at line 75 of file ErrorCode.h.
| const unsigned int ERR_PATH_IS_DIRECTORY = errorcode( "path is a directory" ) |
The path is directory
Definition at line 57 of file ErrorCode.h.
1.8.6