Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApiError

Represents an error in contacting or parsing a response from the CloudFlare API or the myexternalip.com API.

Hierarchy

  • Error
    • ApiError

Index

Constructors

Private constructor

Properties

Optional body

body: any

The body of the response returned from the API, if applicable.

Optional innerError

innerError: any

The error that caused this error, if applicable.

message

message: string

The message associated with the error.

Optional response

response: http.IncomingMessage

The response returned from the API, if applicable.

Optional result

result: any

The API result, if applicable.

Static Error

Error: ErrorConstructor

Static message

message: string

Static name

name: string

Static Optional stack

stack: string

Generated using TypeDoc