Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Type Parameters

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