Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_exception/src/exception_status.ts>HttpException.createBody

A global exception filter middleware by oak.
Latest
method HttpException.createBody
import { HttpException } from "https://deno.land/x/oak_exception@v0.2.1/src/exception_status.ts";

Parameters

objectOrError: any
description: string
statusCode: number