import { HttpError } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/deps.ts?s=HttpError";
The base class that all derivative HTTP extend, providing a status
and an
expose
property.
Constructors
new
HttpError(message?, options?: HttpErrorOptions)[src]Properties
readonly
expose: boolean[src]A flag to indicate if the internals of the error, like the stack, should
be exposed to a client, or if they are "private" and should not be leaked.
By default, all client errors are true
and all server errors are
false
.