[]previous and next page

ChainErrorHandler

Called with an error a metadata function threw, and the route it belongs to.

Called with an error a metadata function threw, and the route it belongs to.

Import#

ts
import type { ChainErrorHandler } from "@shadow-js/dusk/server";

Signature#

ts
type ChainErrorHandler = (error: unknown, routeId: string) => void