mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
Hafas: Handle h2g error 13.
This commit is contained in:
parent
f330f0d799
commit
ccd0378be0
1 changed files with 3 additions and 0 deletions
|
@ -2079,6 +2079,9 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
throw new SessionExpiredException();
|
||||
else if (errorCode == 8)
|
||||
return new QueryTripsResult(header, QueryTripsResult.Status.AMBIGUOUS);
|
||||
else if (errorCode == 13)
|
||||
// IN13: Our booking system is currently being used by too many users at the same time.
|
||||
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
||||
else if (errorCode == 207)
|
||||
// H207: Unfortunately your connection request can currently not be processed.
|
||||
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue