import { type ErrorHandler } from "https://deno.land/x/momentum@v0.8.2/core/error-handler.ts";
An error handler that is registered as a global error handler executes when an unhandled error occurs.
Methods
handleError(error: unknown, contextAccessor: ContextAccessor): void | { handled: true; } | Promise<void | { handled: true; }>