Skip to main content

NonJSONResponseError

Extends

  • Error

Constructors

Constructor

new NonJSONResponseError(contentType, response): NonJSONResponseError;

Parameters

ParameterType
contentTypestring | null
responsestring

Returns

NonJSONResponseError

Overrides

Error.constructor

Properties

PropertyTypeDefault valueOverridesInherited from
namestring'NonJSONResponseError'Error.name-
contentTypestring | nullundefined--
responsestringundefined--
cause?unknownundefined-Error.cause
messagestringundefined-Error.message
stack?stringundefined-Error.stack