libsir 2.2.5
Standard Incident Reporter
|
Contains all available information about an error. More...
Data Fields | |
std::string | func |
Name of the function in which the error occurred. | |
std::string | file |
Name of the file in which the error occurred. | |
uint32_t | line {} |
Line number at which the error occurred. | |
int | os_code {} |
If an OS/libc error, the associated code. | |
std::string | os_message |
If an OS/libc error, the associated message. | |
Data Fields inherited from sir::error | |
uint16_t | code {} |
Numeric error code (see sir_errorcode). | |
std::string | message |
Formatted error message. | |
Contains all available information about an error.
Provides extended information about an error that occurred in order to allow for custom error handling. If the numeric error code and default error message formatting are sufficient, use the error struct instead.