5 Xapian::Error - Base class for all exceptions in Xapian
9 This is an abstract class in C++, i.e. it cannot be instantiated directly,
10 hence in Perl it has no C<new> method.
12 =head2 Compatibility with Search::Xapian
14 Search::Xapian overloads <""> (stringification) on this class for compatibility
15 with Search::Xapian < 1.2.3 which threw string exceptions in certain cases.
16 1.2.3 was released in 2010, so you can safely assume that all exceptions from
17 Search::Xapian are objects now.
21 All exception objects have the following methods
25 Returns a string with a descriptive error message, useful for outputting
29 The type of this error (e.g. "DocNotFoundError").
33 Optional context information, returned as a string
35 =head2 get_error_string
37 Returns any error string from errno or similar associated with this error