Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/mod.ts>ErrorHandler

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

Type Parameters

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