#include <error.h>
Public Member Functions | |
std::string | get_msg () const |
Return a message describing the error. | |
std::string | get_type () const |
Return the type of the error. | |
std::string | get_context () const |
Get the context of the error. | |
int | get_errno () const |
Get the errno value associated with the error (or 0 if none). | |
virtual | ~Error () |
Destructor. | |
Protected Member Functions | |
Error (const std::string &msg_, const std::string &context_, const std::string &type_, int errno_value_) | |
Constructors are protected, since they can only be used by derived classes anyway. | |
Error (const Error &o) | |
Friends | |
class | ErrorHandler |
Instantiations of Xapian::Error (as opposed to subclasses) are forbidden.
|
Constructors are protected, since they can only be used by derived classes anyway.
|
|
Destructor.
|
|
Get the context of the error.
|
|
Get the errno value associated with the error (or 0 if none).
|
|
Return a message describing the error. This is in a human readable form. |
|
Return the type of the error.
|