Options
All
  • Public
  • Public/Protected
  • All
Menu

Thrown when Binance's API response is identified as an error. Both code and message are taken from the response message itself and are returned from the client directly from Binance, without alterations.

Hierarchy

  • Error
    • ApiError

Index

Constructors

Properties

Constructors

constructor

  • new ApiError(code: number, message: string): ApiError

Properties

Static Error

Error: ErrorConstructor

Static message

message: string

Static name

name: string

Static Optional stack

stack: string

Generated using TypeDoc