Skip to main content
Deno 2 is finally 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.31.1/src/mod.ts";

Create one global error handler

Parameters

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