Creates a new HTTP error. Subclasses should call this with their fixed status code.
HTTP status code needed for the HTTP response.
Error name. Useful for logging and stack tracing.
Optional
message: stringError message.
Optional options.
Optional
Readonly
causeOptional
Readonly
detailsReadonly
errorOptional
stackReadonly
statusStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackStatic
captureStatic
is
A class for all errors that could be thrown by Solid. All errors inheriting from this should fix the status code thereby hiding the HTTP internals from other components.