|
Public Member Functions |
| | ZError (ZErrorCode code=ZERR_NONE, std::string desc="", std::string file="", int line=0) |
| | Default constructor for ZError.
|
| void | Create (ZErrorCode code, std::string desc="", std::string file="", int line=0) |
| | Set members of error object.
|
| ZErrorCode | Code () const |
| | Get ZErrorCode of error.
|
| std::string | LogString () const |
| | Get formatted string for log file.
|
Static Public Member Functions |
| void | CreateStringTable () |
| | Construct string table for error strings.
|
Protected Attributes |
|
ZErrorCode | rCode |
| | Error ID.
|
|
std::string | rDescription |
| | Error Description.
|
|
std::string | rFilename |
| | File which error occured in.
|
|
unsigned int | rLine |
| | Line which error occured on.
|
Static Protected Attributes |
|
std::string | sErrorDesc [ZERR_LAST] |
| | Static Array of Error Identifiers.
|