mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
Hafas: Handle h2g error 19.
This commit is contained in:
parent
7af27c855b
commit
572909f8ed
1 changed files with 2 additions and 0 deletions
|
@ -2689,6 +2689,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
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 == 19)
|
||||
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