import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { HttpError } = Oak;
The base class for individual classes of HTTP errors.
Properties
Determines if details about the error should be automatically exposed
in a response. This is automatically set to true
for 4XX errors, as
they represent errors in the request, while 5XX errors are set to false
as they are internal server errors and exposing details could leak
important server security information.