NonJSONResponseError
Extends
Error
Constructors
Constructor
new NonJSONResponseError(contentType, response): NonJSONResponseError;
Parameters
| Parameter | Type |
|---|---|
contentType | string | null |
response | string |
Returns
NonJSONResponseError
Overrides
Error.constructor
Properties
Methods
isError()
static isError(error): error is Error;
Indicates whether the argument provided is a built-in Error instance or not.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
error is Error
Inherited from
Error.isError