import { createHttpError } from "https://dotland.deno.dev/std@0.181.0/http/mod.ts";
A factory function which provides a way to create errors. It takes up to 3
arguments, the error Status
, an message, which defaults to the status text
and error options, which incudes the expose
property to set the .expose
value on the error.