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:91

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2