constructor
Overview
Creates an instance of ServerFeedbackError.
Signature
constructor(message, options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| message | string | no | The error message. |
| options | object | no | Server feedback options. |
options Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| errors | object | Blocking feedback keyed by field path. | ||
| messages | object | Advisory feedback keyed by field path. | ||
| response | Response | The response object associated with the error. | ||
| responseData | any | The data returned in the response. |
Returns
Source
client/lib/utils/errors.js:91