|
void | reportError (ErrorCode errCode, const char *format,...) |
|
bool | errorOccurred () const |
|
ErrorCode | getErrorCode () const |
|
void | clearError () |
|
|
static void | fatalError (ErrorCode errCode, const char *format,...) |
|
static void | initialize () |
|
static int | getErrorCount () |
|
◆ reportError()
void Bagel::CBofError::reportError |
( |
ErrorCode |
errCode, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
Logs specified error to log file.
- Parameters
-
errCode | Error to report |
format | A printf style format string |
... | Additional parameters to be formatted and inserted into the string |
◆ fatalError()
static void Bagel::CBofError::fatalError |
( |
ErrorCode |
errCode, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
static |
Logs specified fatal error to log file and exit the game.
- Parameters
-
errCode | Error to report |
format | A printf style format string |
... | Additional parameters to be formatted and inserted into the string |
The documentation for this class was generated from the following file: