DOKK / manpages / debian 10 / libtravel-routing-de-vrr-perl / Travel::Routing::DE::EFA::Exception.3pm.en
Travel::Routing::DE::EFA::Exception(3pm) User Contributed Perl Documentation Travel::Routing::DE::EFA::Exception(3pm)

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

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.

An argument to new had an invalid format.

Additional methods:

$exception->option
The option in which the error occurred.
$exception->have
The argument we got.
$exception->want
What kind of argument we want.

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

We got no parsable data from the EFA service

Our request contained ambiguous data. post_key contains the relevant POST key and post_value the corresponding input value. possibilities is a pipe-separated string of acceptable values reported by the EFA service.

The EFA service found no connections for our request.

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

2018-04-14 perl v5.26.1