Skip to content

constructor ​

Overview ​

Creates an instance of ServerFeedbackError.

Signature ​

constructor(message, options)

Parameters ​

NameTypeRequiredDescription
messagestringnoThe error message.
optionsobjectnoServer feedback options.

options Properties ​

NameTypeRequiredDefaultDescription
errorsobjectBlocking feedback keyed by field path.
messagesobjectAdvisory feedback keyed by field path.
responseResponseThe response object associated with the error.
responseDataanyThe data returned in the response.

Returns ​

ServerFeedbackError

Source ​

client/lib/utils/errors.js:150