Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/alosaur/src/mod.ts>App#error

Alosaur - Deno web framework with many decorators
Go to Latest
method App.prototype.error
import { App } from "https://deno.land/x/alosaur@v0.35.0/src/mod.ts";

Create one global error handler

Parameters

globalErrorHandler: (ctx: HttpContext<TState>, error: Error) => void