Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EthersError

Hierarchy

Index

Constructors

  • new EthersError(message: string, error_code: string): EthersError

Properties

cause?: Error
error_code: string
error_type: string
message: string
name: string
stack?: string
FAIL_TOKEN_FETCH: string = "fail_token_fetch"
NO_DECIMALS: string = "no_decimals"
NO_PRICE_PER_SHARE: string = "no_price_per_share"
POPULATING_TRANSACTION: string = "populating_transaction"
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc