diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-10-27 14:59:22 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-10-27 14:59:46 +0100 |
commit | 2d1f3bcd683052ecaad75ead72cf7c3e595e8eb5 (patch) | |
tree | 93b1c452642160b655fa63f05adbf815975a3849 /bin/hafas | |
parent | a7942591cfacde1e9c70b49a2347e24fd389ba01 (diff) |
bin/hafas: Add human-readable explanation for H890
Diffstat (limited to 'bin/hafas')
-rwxr-xr-x | bin/hafas | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -297,6 +297,12 @@ if ( my $err = $hafas->errstr ) { { show_similar_stops(); } + elsif ( $hafas->errcode and $hafas->errcode eq 'H890' ) { + say q{}; + say 'HAFAS was unable to find suitable connections.'; + say +'Maybe your mode of transport (-m) or change (-c / -C) filters are too restrictive?'; + } exit 2; } |