import { createHttpError } from "https://deno.land/x/oak@v10.6.0/httpError.ts";
Create a specific class of HttpError
based on the status, which defaults
to 500 Internal Server Error.
Parameters
optional
status: ErrorStatus = [UNSUPPORTED]import { createHttpError } from "https://deno.land/x/oak@v10.6.0/httpError.ts";
Create a specific class of HttpError
based on the status, which defaults
to 500 Internal Server Error.