Skip to content

@armada/sdk / index / InsufficientBalanceError

Class: InsufficientBalanceError

Defined in: src/errors.ts:38

Thrown when no single tree's spendable notes can cover a planned spend (amount + fee).

Extends

Constructors

Constructor

new InsufficientBalanceError(message, options?): InsufficientBalanceError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

InsufficientBalanceError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "INSUFFICIENT_BALANCE" = 'INSUFFICIENT_BALANCE'

Defined in: src/errors.ts:39

Overrides

ArmadaError.code