Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak/application.ts>ApplicationErrorEvent

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
class ApplicationErrorEvent
extends ErrorEvent
import { ApplicationErrorEvent } from "https://deno.land/x/oak@v17.1.2/application.ts";

An event that occurs when an application error occurs.

When the error occurs related to the handling of a request, the .context property will be populated.

Constructors

new
ApplicationErrorEvent(eventInitDict: ApplicationErrorEventInit<S, AS>)

Type Parameters

S extends AS
AS extends State

Properties

optional
context: Context<S, AS>