constructor
Overview
Creates an instance of FetchError.
Signature
constructor(messagePrefix, response, responseData)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| messagePrefix | string | yes | The prefix for the error message. |
| response | Response | no | The response object associated with the error. |
| responseData | any | no | The data returned in the response. |
Returns
Source
client/lib/utils/errors.js:44