Skip to main content

Class: NonJSONResponseError

Hierarchy

  • Error

    NonJSONResponseError

Constructors

constructor

new NonJSONResponseError(contentType, response)

Parameters

NameType
contentTypenull | string
responsestring

Overrides

Error.constructor

Properties

cause

Optional cause: unknown

Inherited from

Error.cause


contentType

contentType: null | string


message

message: string

Inherited from

Error.message


name

name: string = 'NonJSONResponseError'

Overrides

Error.name


response

response: string


stack

Optional stack: string

Inherited from

Error.stack