diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-01-16 14:57:00 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-01-16 14:57:00 +0100 |
commit | eccf8ca2b1d6625a2d17d12ab2f0dbc5d49fac75 (patch) | |
tree | e6335abdeb79d57b8511e9f2340615d40977554a /lib/Travel/Routing/DE/EFA/Exception.pod | |
parent | 937a09c0845abd97a9b216d6e34b5747b95ac9f5 (diff) |
Move EFA logic to ::EFA, just set URL in ::VRR
Diffstat (limited to 'lib/Travel/Routing/DE/EFA/Exception.pod')
-rw-r--r-- | lib/Travel/Routing/DE/EFA/Exception.pod | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/EFA/Exception.pod b/lib/Travel/Routing/DE/EFA/Exception.pod new file mode 100644 index 0000000..5ec2991 --- /dev/null +++ b/lib/Travel/Routing/DE/EFA/Exception.pod @@ -0,0 +1,57 @@ +=head1 NAME + +Travel::Routing::DE::EFA::Exception - Travel::Routing::DE::EFA Exceptions + +=head1 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. + +=head1 LIST OF EXCEPTIONS + +=head2 Travel::Routing::DE::EFA::Exception::Setup + +An argument to B<new> had an invalid format. + +Additional methods: + +=over + +=item $exception->option + +The option in which the error occured. + +=item $exception->have + +The argument we got. + +=item $exception->want + +What kind of argument we want. + +=back + +=head2 Travel::Routing::DE::EFA::Exception::Net + +The HTTP request to the efa interface failed. Contains an HTTP::Response(3pm) +object describing the error in B<http_response>. + +=head2 Travel::Routing::DE::EFA::Exception::NoData + +We got no parsable data from the EFA service + +=head2 Travel::Routing::DE::EFA::Exception::Ambiguous + +Our request contained ambiguous data. B<post_key> contains the relevant POST +key, B<possibilities> is a comma-separated string of possible key values (as +reported by the EFA service). + +=head2 Travel::Routing::DE::EFA::Exception::NoConnections + +The EFA service found no connections for our request. + +=head1 SEE ALSO + +Travel::Routing::DE::EFA(3pm) |