#include <error.h>
Public Member Functions | |
| std::string | get_type () const |
| The type of this error (e.g. "DocNotFoundError".). | |
| const std::string & | get_msg () const |
| Message giving details of the error, intended for human consumption. | |
| const std::string & | get_context () const |
| Optional context information. | |
| int | get_errno () const |
| Optional value of 'errno' associated with this error. | |
Friends | |
| class | ErrorHandler |
This class can not be instantiated directly - instead a subclass should be used.
|
|
Optional context information. This context is intended for use by Xapian::ErrorHandler (for example so it can know which remote server is unreliable and report the problem and remove that server from those being searched). But it's typically a plain-text string, and so also fit for human consumption. |
|
|
Optional value of 'errno' associated with this error. If no 'errno' value is associated, returns 0. |
|
|
Message giving details of the error, intended for human consumption.
|
|
|
The type of this error (e.g. "DocNotFoundError".).
|