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
causeReadonly
errorReadonly
metadataOptional
stackReadonly
statusStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
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.