routingErrorMessage
The message that tells a person a route or area request failed, saying what
happened and what to do next. Not for aborted, which is never shown.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { routingErrorMessage } from "@mapcairn/core";
function routingErrorMessage(kind: Exclude<RoutingErrorKind, "aborted">, request: RoutingRequestKind): Message;
Parameters
kind(Exclude<RoutingErrorKind, "aborted">)request(RoutingRequestKind)
Returns
Message