Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_exception/src/exception.ts

A global exception filter middleware by oak.
Latest
import * as oakException from "https://deno.land/x/oak_exception@v0.2.1/src/exception.ts";

Variables

A middleware that will deal the exceptions when called, and set the response time for other middleware in milliseconds as X-Response-Time which can be used for diagnostics and other instrumentation of an application. Utilise the middleware before the "real" processing occurs.