Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sinco/tests/deps.ts>Drash.Interfaces.IErrorHandler

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Drash.Interfaces.IErrorHandler
import { type Drash } from "https://deno.land/x/sinco@v4.1.0/tests/deps.ts";
const { IErrorHandler } = Drash.Interfaces;

Properties

catch: (
request: Request,
response: Response,
) => void | Promise<void>

Method that gets executed during the request-resource-response lifecycle in the event an error is thrown.