Hierarchy-Diagram

UML class diagram of APIError
Legend
icon for a class in the UML class diagram class
icon for a public method in the UML class diagram public method
underlined static property/method

Hierarchy

  • Error
    • APIError

Constructors

Properties

Accessors

Methods

Constructors

Properties

path: string

The path to the API that failed, e.g. /v1/chain/get_info.

response: APIResponse

The full response from the API that failed.

__className: string = 'APIError'

Accessors

  • get code(): number
  • The nodeop error code, e.g. 3080002.

    Returns number

  • get name(): string
  • The nodeop error name, e.g. tx_net_usage_exceeded

    Returns string

Methods