Error type indicating an attempt transfer funds to/from an account which is either not on the token allow list, or is on the token deny list

Hierarchy

Constructors

Properties

code: NOT_ALLOWED = TokenErrorCode.NOT_ALLOWED
message: string
receiver: TokenHolderAccount

The account address of the receiver.

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