|
|
| Error (const std::string &source, ErrorCode code) |
| | Initializes instance with just a code.
|
| |
|
| Error (const std::string &source, ErrorCode code, const std::string &description) |
| | Initializes instance with code and description.
|
| |
|
| Error (const Error &other) |
| | Initializes as clone of another error.
|
| |
|
virtual | ~Error () throw () |
| | Destruction interface.
|
| |
|
ErrorCode | code () const |
| | Code of error.
|
| |
|
const char * | description () const |
| | Human readable description of error.
|
| |
|
const char * | source () const |
| | Origin of the error.
|
| |
|
virtual const char * | what () const throw () |
| | Human readable description of error.
|
| |
|
std::string | toString () const |
| | String presentation of an error.
|
| |
|
void | toString (std::string &) const |
| | Appends presentation of an error to the string.
|
| |
|
Error & | operator= (const Error &other) |
| | Copies error attributes from another instance.
|
| |