HTTP status code
Optionalmessage: stringerror message, if not provided message from [[HttpStatusReasons]] is used
Optionalproperties: { additional configuration
Should error message be exposed to the user
Should error message be exposed to the user
this.message if this.status is true else message from [[HttpStatusReasons]] is used
OptionalstackHTTP status code
Static OptionalprepareOptional override for formatting stack traces
Staticstack
HTTP error class with status code
Example