|
| system_error (const std::string &message, int code, source_location location) |
| Create a system error from a message and a code. The message will be pretended to the error message from strerror .
|
|
| system_error (int code, source_location location) |
| Create a system error from a code. The message will be set to the error message from strerror .
|
|
| system_error (const std::string &message, source_location location) |
| Create a system error from errno. The message will be pretended to the error message from strerror .
|
|
| system_error (source_location location) |
| Create a system error from errno. The message will be set to the error message from strerror .
|
|
| code_error (const std::string &message, int code, source_location location) |
| Constructor with message, code and source_location.
|
|
const char * | what () const noexcept override |
| Get error message.
|
|
| runtime_error (std::string msg, source_location loc) |
| Constructor with message and source_location.
|
|
const char * | what () const noexcept override |
| Get error message.
|
|
const error_ptr & | cause () const &noexcept override |
| Get cause of this error, if any.
|
|
error_ptr | cause () &&noexcept override |
| Transfer the ownership of cause of this error, if any.
|
|
| base_error (source_location loc) |
| Constructor with source_location.
|
|
| base_error (source_location loc) |
| Constructor with source_location.
|
|
std::optional< source_location > | location () const noexcept override |
| Get the source location of this error, if any.
|
|
| interface (const interface &)=delete |
|
| interface (interface &&)=delete |
|
interface & | operator= (interface &&)=delete |
|
interface & | operator= (const interface &)=delete |
|
An error that has a system error code.