Skip to main content
Module

x/drash/src/http/error_handler.ts>ErrorHandler

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

Methods

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

Catch and handle the given error.