Skip to main content
Module

x/kyuko/mod.ts>KyukoErrorHandler

Fast and easy http framework for Deno Deploy 🦕
Latest
type alias KyukoErrorHandler
import { type KyukoErrorHandler } from "https://deno.land/x/kyuko@v0.6.3/mod.ts";

A function that is invoked when errors are thrown within the Kyuko app. Has access to the err object as well as the req and res objects. Hands over execution to the next error handler on return.

definition: (
err: Error,
) => Promise<unknown> | unknown