Skip to content

constructor

Overview

Creates an instance of FetchError.

Signature

constructor(messagePrefix, response, responseData)

Parameters

NameTypeRequiredDescription
messagePrefixstringyesThe prefix for the error message.
responseResponsenoThe response object associated with the error.
responseDataanynoThe data returned in the response.

Returns

FetchError

Source

client/lib/utils/errors.js:44

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