Documents / @faasjs/request / ResponseError
Class: ResponseError
ResponseError class
Extends
Error
Constructors
new ResponseError()
new ResponseError(
message
,response
):ResponseError
Parameters
• message: string
• response: Response
<any
>
Returns
Overrides
Error.constructor
Properties
body
body:
any
headers
headers:
OutgoingHttpHeaders
request
request:
Request
response
response:
Response
<any
>
statusCode
statusCode:
number
statusMessage
statusMessage:
string