Unverified Commit 2d1f3bcd authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

bin/hafas: Add human-readable explanation for H890

parent a7942591
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;
}