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

x/workers_middleware/context.ts>ErrorHandler

Placeholder for Worker-based middleware solution
Latest
type alias ErrorHandler
Deprecated
Deprecated

Name might change

import { type ErrorHandler } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/context.ts";
deprecated
definition: (request: Request, ctx: X) => Awaitable<Response>