|
| | FeatureUnavailableError (std::string_view msg_, std::string_view context_={}, int errno_=0) |
| | General purpose constructor.
|
| | FeatureUnavailableError (std::string_view msg_, int errno_) |
| | Construct from message and errno value.
|
| | Error (const Error &)=default |
| | Default copy constructor.
|
|
const char * | get_type () const noexcept |
| | The type of this error (e.g. "DocNotFoundError".).
|
|
const std::string & | get_msg () const noexcept |
| | Message giving details of the error, intended for human consumption.
|
| const std::string & | get_context () const noexcept |
| | Optional context information.
|
| const char * | get_error_string () const |
| | Returns any system error string associated with this exception.
|
|
std::string | get_description () const |
| | Return a string describing this object.
|
Indicates an attempt to use a feature which is unavailable.
Typically a feature is unavailable because it wasn't compiled in, or because it requires other software or facilities which aren't available.