Skip to main content

ScriptedRoutingFailure

The failures a provider can be scripted to report. The others need no script.

This is a type alias exported by @mapcairn/core/contracts, checked against version 0.2.0.

Signature​

import type { ScriptedRoutingFailure } from "@mapcairn/core/contracts";

type ScriptedRoutingFailure = Exclude<RoutingErrorKind, "aborted" | "invalid">;

See also​

Source: packages/core/src/contracts/routingProvider.contract.ts:14