Class: RequestError

RequestError(code, message, status)

A request error object.

Constructor

new RequestError(code, message, status)

Parameters:
Name Type Description
code string | number The code to identify the error by.
message string A human-readable message to deliver with the error.
status number The HTTP status of the error.
Source: