import { oak } from "https://deno.land/x/hex@0.6.5/src/fw/service/deps.ts";
const { httpErrors } = oak;
A map of HttpErrors that are unique instances for each HTTP error status code.
Example
import { errors } from "https://deno.land/std@0.224.0/http/http_errors.ts";
throw new errors.InternalServerError("Ooops!");