Travel::Routing::DE::VRR::Exception(3pm)

Travel::Routing::DE::VRR::Exception3pm

Travel::routing::de::vrr exceptions

Overview

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

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

List of exceptions

Travel::Routing::DE::VRR::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::VRR::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::VRR::Exception::NoData

We got no parsable data from efa.vrr.de

Travel::Routing::DE::VRR::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 efa.vrr.de).

Travel::Routing::DE::VRR::Exception::NoConnections

efa.vrr.de found no connections for our request.

From libtravel-routing-de-vrr-perl 2.01-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.