Module

x/hono/types.ts>ErrorHandler

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://dotland.deno.dev/x/hono@v4.1.5/types.ts";

Type Parameters

optional
E extends Env = any
definition: (err: Error, c: Context<E>) => Response | Promise<Response>