import { Drash } from "https://deno.land/x/sinco@v4.1.0/tests/deps.ts";
const { ErrorHandler } = Drash;
Catch and handle the given error.
Parameters
_request: Request
- The original request that threw the error. Note this is
not that
Drash.Request
object. Reason being, theDrash.Request
object can also throw an error and would not be available as a parameter.