Class: ResponseError

ResponseError(request, statusCode, message)

Error thrown when a request did not succeed (did not return 200 or 201)

Constructor

new ResponseError(request, statusCode, message)

Create the exception
Parameters:
Name Type Description
request Request ID of the item which will be modified
statusCode number The values for the individual properties
message string Error message from the API
Source: