import { type ExceptionFilter } from "https://deno.land/x/mandarinets@v2.3.2/mod.ts";
Provides the necessary behavior to intercept an error thrown
catch
will be responsible for handling the error.
A first parameter will be automatically injected by Mandarine containing the Context of the exception (ExceptionContext)
Methods
catch(exceptionContext: ExceptionContext<T>, ...parameters: any): void