Skip to main content
Module

x/drash/tests/deps.ts>Drash.ErrorHandler

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
class Drash.ErrorHandler
implements IErrorHandler
import { Drash } from "https://deno.land/x/drash@v2.7.0/tests/deps.ts";
const { ErrorHandler } = Drash;

Methods

catch(
error: Error,
_request: Request,
response: Response,
_connInfo: ConnInfo,
): void

Catch and handle the given error.