Travel...ception(3pm)
β¨ Travel::Routing::DE::EFA::Exception β the exceptions manual π
okay bestie, so this is the manpage for Travel::Routing::DE::EFA::Exception from the Travel::Routing::DE::EFA crew, and it's literally just the β¨exceptionsβ¨ page. if your code is crying, this is the page that tells you why π«Ά
πΈ DESCRIPTION πΈ
so here's the tea: every single exception thrown by Travel::Routing::DE::EFA is a Travel::Routing::DE::EFA::Exception object, and they're all created by Exception::Class(3pm). no cap, all of them. π
and if you wanna know what methods they all share? that's a Exception::Class::Base(3pm) situation, so go peek at that page for the common stuff. π
π¦ LIST OF EXCEPTIONS π¦
here's the roster, main character by main character:
π Travel::Routing::DE::EFA::Exception::Setup
bestie, this one means an argument to new had an invalid format. like, the vibe was off. π
extra methods she brings to the party:
$exception->optionβ the option where the error happened. the exact spot. π$exception->haveβ the argument we actually got. the audacity.$exception->wantβ what kind of argument we want. the dream. β¨
π Travel::Routing::DE::EFA::Exception::Net
the HTTP request to the efa interface failed. π and she comes with receipts: there's an HTTP::Response(3pm) object describing the error sitting right there in http_response.
π Travel::Routing::DE::EFA::Exception::NoData
we got no parsable data from the EFA service. empty. nothing. ghosted. π
π§ Travel::Routing::DE::EFA::Exception::Ambiguous
our request contained ambiguous data. like, pick a lane?? π
post_keycontains the relevant POST keypost_valueis the corresponding input valuepossibilitiesis a pipe-separated string of acceptable values reported by the EFA service β so basically the EFA service handed you a list of options and said "choose" π
β Travel::Routing::DE::EFA::Exception::NoConnections
the EFA service found no connections for our request. no routes, no journeys, nothing. it's giving empty. π
π SEE ALSO π
Travel::Routing::DE::EFA(3pm)β the main character herself, go read it π
that's the whole page bestie, slay, you're now fluent in EFA exceptions π
this page was brought to you by perl v5.36.0, dated 2023-11-27 β mwah, kisses, go write some error handling π
π¦ where this page comes from
- debian trixie: libtravel-routing-de-vrr-perl 2.24-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtravel-routing-de-vrr-perl 2.24-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtravel-routing-de-vrr-perl 2.24-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtravel-routing-de-vrr-perl 2.24-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms