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.
Optionalmessage: stringError message.
Optional options.
Optional ReadonlycauseReadonlyerrorReadonlymetadataOptionalstackReadonlystatusStatic OptionalprepareOptional override for formatting stack traces
Staticstack
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.