Skip to content

@armada/sdk / index / NoSpendCapabilityError

Class: NoSpendCapabilityError

Defined in: src/errors.ts:34

Thrown by any spend-path call on a view-only wallet (no SpendSigner attached) — SPEC §4.2.2.

Extends

Constructors

Constructor

new NoSpendCapabilityError(message, options?): NoSpendCapabilityError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

NoSpendCapabilityError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "NO_SPEND_CAPABILITY" = 'NO_SPEND_CAPABILITY'

Defined in: src/errors.ts:35

Overrides

ArmadaError.code