21 #ifndef XAPIAN_INCLUDED_SERIALISE_ERROR_H 22 #define XAPIAN_INCLUDED_SERIALISE_ERROR_H 55 const std::string &prefix,
56 const std::string &new_context));
void unserialise_error(const std::string &error_string, const std::string &prefix, const std::string &new_context)
Unserialise a Xapian::Error object and throw it.
The Xapian namespace contains public interfaces for the Xapian library.
Define the XAPIAN_NORETURN macro.
std::string serialise_error(const Xapian::Error &e)
Serialise a Xapian::Error object to a string.
All exceptions thrown by Xapian are subclasses of Xapian::Error.