Class InsufficientSupplyError

Error type indicating insufficient supply for the burning.

Hierarchy

Constructors

Properties

code: INSUFFICIENT_SUPPLY = TokenErrorCode.INSUFFICIENT_SUPPLY
message: string
requiredAmount: TokenAmount

The amount of tokens required for the burn.

sender: AccountAddress

The account address of the sender.

stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get name(): string
  • Gets the name of the error, including its code.

    Returns

    The name of the error.

    Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc