Documents / @faasjs/http / HttpError
Class: HttpError
Extends
Error
Constructors
new HttpError()
new HttpError(
__namedParameters
):HttpError
Parameters
• __namedParameters
• __namedParameters.message: string
• __namedParameters.statusCode?: number
Returns
Overrides
Error.constructor
Properties
message
readonly
message:string
Overrides
Error.message
statusCode
readonly
statusCode:number