import { Application } from "https://deno.land/x/oak_sessions@v4.1.3/deps.ts";
Add an event listener for an "error"
event which occurs when an
un-caught error occurs when processing the middleware or during processing
of the response.
Parameters
listener: ApplicationErrorEventListenerOrEventListenerObject<S, AS> | null
optional
options: boolean | AddEventListenerOptionsAdd an event listener for a "listen"
event which occurs when the server
has successfully opened but before any requests start being processed.
Parameters
optional
options: boolean | AddEventListenerOptions