libsir 2.2.5
Standard Incident Reporter
Loading...
Searching...
No Matches
sir::error Struct Reference

Contains basic information about an error. More...

Inheritance diagram for sir::error:
[legend]

Data Fields

uint16_t code {}
 Numeric error code (see sir_errorcode).
 
std::string message
 Formatted error message.
 

Detailed Description

Contains basic information about an error.

Provides the default error message formatting (SIR_ERRORFORMAT). In the event that the default formatting is undesirable, or to obtain additional information about an error, use the error_info struct.

See also
SIR_ERRORFORMAT
error_info

The documentation for this struct was generated from the following file: