ExceptionContext
import type { ExceptionContext } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";Provides information about an exception intercepted by a catch component.
getException() returns the instance of the error thrown
getResponse() returns the response object in the current request
getRequest() returns the request object of the current request
interface ExceptionContext <T = any> {
getException(): T;
getRequest(): any;
getResponse(): any;
getTimestamp(): string;
}