RequestError
class RequestError extends Error
Properties
constructor
new RequestError(message, statusCode, statusMessage)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
message | string | |||
statusCode | number | |||
statusMessage | string |
Properties
statusCode
HTTP response status code
Type: number
statusMessage
The message of the status code
Type: string