Skip to main content

NonJSONResponseError

Extends

  • Error

Constructors

Constructor

new NonJSONResponseError(contentType, response): NonJSONResponseError;

Parameters

ParameterType
contentTypenull | string
responsestring

Returns

NonJSONResponseError

Overrides

Error.constructor

Properties

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