Skip to content

@armada/sdk / index / NothingToConsolidateError

Class: NothingToConsolidateError ​

Defined in: src/errors.ts:162

A consolidation found nothing worth merging for the token: too few notes (a lone current-tree note merges nothing), or only dust worth no more than the fee it would cost. Not a failure of the wallet — the caller should report that there's nothing to do.

Extends ​

Constructors ​

Constructor ​

new NothingToConsolidateError(message, options?): NothingToConsolidateError

Defined in: src/errors.ts:6

Parameters ​

message ​

string

options? ​
cause? ​

unknown

Returns ​

NothingToConsolidateError

Inherited from ​

ArmadaError.constructor

Properties ​

code ​

readonly code: "NOTHING_TO_CONSOLIDATE" = 'NOTHING_TO_CONSOLIDATE'

Defined in: src/errors.ts:163

Overrides ​

ArmadaError.code