Skip to main content
Module

x/rutt/mod.ts>ErrorHandler

🛣️ A tiny and fast http request router designed for use with deno and deno deploy
Go to Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://deno.land/x/rutt@0.0.14/mod.ts";

A handler type for anytime the MatchHandler or other parameter handler fails

Type Parameters

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