x/oak/deps.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function createHttpError
import { createHttpError } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/deps.ts?s=createHttpError";

Create an instance of an HttpError based on the status code provided.

Parameters

optional
status: ErrorStatus
[src]
optional
message: string
[src]
optional
options: HttpErrorOptions
[src]