xapian-core
1.5.0
|
The base class for exceptions indicating errors in the program logic. More...
Additional Inherited Members | |
![]() | |
Error (const Error &)=default | |
Default copy constructor. More... | |
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. More... | |
const char * | get_error_string () const |
Returns any system error string associated with this exception. More... | |
std::string | get_description () const |
Return a string describing this object. | |
The base class for exceptions indicating errors in the program logic.
A subclass of LogicError will be thrown if Xapian detects a violation of a class invariant or a logical precondition or postcondition, etc.