Module

x/fresh/src/server/router.ts>ErrorHandler

The next-gen web framework.
Extremely Popular
Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/router.ts";

Type Parameters

optional
T = Record<string, unknown>
definition: (
req: Request,
err: unknown,
) => Response | Promise<Response>