Definition at line 76 of file Error.h.
◆ Error() [1/4]
Initializes instance with just a code.
◆ Error() [2/4]
Error |
( |
const std::string & | source, |
|
|
ErrorCode | code, |
|
|
const std::string & | description ) |
Initializes instance with code and description.
◆ Error() [3/4]
Error |
( |
const std::string & | source, |
|
|
ErrorCode | code, |
|
|
const std::string & | description, |
|
|
FeedId | feedId ) |
Initializes instance with code, description and feed ID.
◆ Error() [4/4]
Initializes as clone of another error.
◆ ~Error()
virtual ~Error |
( |
| ) |
|
throw | ( | ) | | | |
|
virtual |
◆ code()
Code of error.
Definition at line 139 of file Error.h.
◆ description()
const char * description |
( |
| ) |
const |
|
inline |
Human readable description of error.
Definition at line 144 of file Error.h.
◆ feedId()
Feed ID (if available).
Definition at line 134 of file Error.h.
◆ operator=()
Copies error attributes from another instance.
◆ source()
const char * source |
( |
| ) |
const |
|
inline |
Origin of the error.
Definition at line 149 of file Error.h.
◆ toString() [1/2]
std::string toString |
( |
| ) |
const |
|
inline |
String presentation of an error.
Definition at line 154 of file Error.h.
◆ toString() [2/2]
void toString |
( |
std::string & | | ) |
const |
Appends presentation of an error to the string.
◆ what()
virtual const char * what |
( |
| ) |
const |
throw | ( | ) | | | |
|
virtual |
Human readable description of error.