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://dotland.deno.dev/x/oak@v14.1.1/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>