Skip to main content
Module

x/oak/application.ts>ApplicationErrorEvent

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Go to Latest
class ApplicationErrorEvent
extends ErrorEvent
import { ApplicationErrorEvent } from "https://deno.land/x/oak@v15.0.0/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>