Class MaxAmountError

Base class for all errors that can be thrown in sdk.

Hierarchy

Constructors

Properties

cause?: unknown
maxAmount: BigNumber
message: string
name: string
stack?: string
tokenSymbol: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc