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.30.0/src/mod.ts";

Create one global error handler

Parameters

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