| 1 |
=head1 NAME |
| 2 |
|
| 3 |
Travel::Routing::DE::EFA::Exception - Travel::Routing::DE::EFA Exceptions |
| 4 |
|
| 5 |
=head1 DESCRIPTION |
| 6 |
|
| 7 |
All Exceptions thrown by Travel::Routing::DE::EFA are |
| 8 |
Travel::Routing::DE::EFA::Exception objects created by Exception::Class(3pm). |
| 9 |
|
| 10 |
See Exception::Class::Base(3pm) for their common methods. |
| 11 |
|
| 12 |
=head1 LIST OF EXCEPTIONS |
| 13 |
|
| 14 |
=head2 Travel::Routing::DE::EFA::Exception::Setup |
| 15 |
|
| 16 |
An argument to B<new> had an invalid format. |
| 17 |
|
| 18 |
Additional methods: |
| 19 |
|
| 20 |
=over |
| 21 |
|
| 22 |
=item $exception->option |
| 23 |
|
| 24 |
The option in which the error occurred. |
| 25 |
|
| 26 |
=item $exception->have |
| 27 |
|
| 28 |
The argument we got. |
| 29 |
|
| 30 |
=item $exception->want |
| 31 |
|
| 32 |
What kind of argument we want. |
| 33 |
|
| 34 |
=back |
| 35 |
|
| 36 |
=head2 Travel::Routing::DE::EFA::Exception::Net |
| 37 |
|
| 38 |
The HTTP request to the efa interface failed. Contains an HTTP::Response(3pm) |
| 39 |
object describing the error in B<http_response>. |
| 40 |
|
| 41 |
=head2 Travel::Routing::DE::EFA::Exception::NoData |
| 42 |
|
| 43 |
We got no parsable data from the EFA service |
| 44 |
|
| 45 |
=head2 Travel::Routing::DE::EFA::Exception::Ambiguous |
| 46 |
|
| 47 |
Our request contained ambiguous data. B<post_key> contains the relevant POST |
| 48 |
key and B<post_value> the corresponding input value. B<possibilities> is a |
| 49 |
pipe-separated string of acceptable values reported by the EFA service. |
| 50 |
|
| 51 |
=head2 Travel::Routing::DE::EFA::Exception::NoConnections |
| 52 |
|
| 53 |
The EFA service found no connections for our request. |
| 54 |
|
| 55 |
=head1 SEE ALSO |
| 56 |
|
| 57 |
Travel::Routing::DE::EFA(3pm) |