Xapian::Error(3)
π¦ Xapian::Error(3) π¦
okay so this is the Xapian::Error(3) page from the User Contributed Perl Documentation, and itβs all about Search::Xapian::Error β the base class for every exception in Search::Xapian. π
β¨ NAME β¨
Search::Xapian::Errorβ base class for all exceptions inSearch::Xapianπ«Ά
πΈ DESCRIPTION πΈ
lowkey important vibe check: in C++ this is an abstract class, meaning it cannot be instantiated directly. no cap. π
In Perl there is no such concept, but bestie, you should not need to create instances of this class yourself. π§
π METHODS π
All exception objects have the following methods, periodt. π
π get_msg π
Returns a string with a descriptive error message, which is useful for outputting. literally made for showing you what went wrong. π
π¦ get_type π¦
The type of this error, e.g. "DocNotFoundError". iykyk. β¨
π get_context π
Optional context information, returned as a string. extra lore, basically. π
π get_error_string π
Returns any error string from errno or similar associated with this error. yes, that kind of system-error tea. π
bestie reminder: this class is abstract in C++, so donβt try to instantiate it directly there β and in Perl you shouldnβt need to make your own instances either. π
sign-off time: this iconic page comes from perl v5.42.0, dated 2022-02-28, and it is the Xapian::Error(3) page β mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms