The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Travel::Routing::DE::EFA::Exception - Travel::Routing::DE::EFA Exceptions

DESCRIPTION

All Exceptions thrown by Travel::Routing::DE::EFA are Travel::Routing::DE::EFA::Exception objects created by Exception::Class(3pm).

See Exception::Class::Base(3pm) for their common methods.

LIST OF EXCEPTIONS

Travel::Routing::DE::EFA::Exception::Setup

An argument to new had an invalid format.

Additional methods:

$exception->option

The option in which the error occured.

$exception->have

The argument we got.

$exception->want

What kind of argument we want.

Travel::Routing::DE::EFA::Exception::Net

The HTTP request to the efa interface failed. Contains an HTTP::Response(3pm) object describing the error in http_response.

Travel::Routing::DE::EFA::Exception::NoData

We got no parsable data from the EFA service

Travel::Routing::DE::EFA::Exception::Ambiguous

Our request contained ambiguous data. post_key contains the relevant POST key, possibilities is a comma-separated string of possible key values (as reported by the EFA service).

Travel::Routing::DE::EFA::Exception::NoConnections

The EFA service found no connections for our request.

SEE ALSO

Travel::Routing::DE::EFA(3pm)