Skip to content

@armada/sdk / index / UnsupportedCircuitShapeError

Class: UnsupportedCircuitShapeError

Defined in: src/errors.ts:72

A plan selected a circuit shape (<nullifiers>x<commitments>) the deployment has no artifact for (SPEC §4.6). Surfaced at plan time — before the signing ceremony and proving — so a fragmented wallet fails fast with a clear signal rather than an opaque artifact-resolve error 30s in. Typically means the spend needs more input notes than any supported shape allows (multi-transaction batching, which this pipeline does not yet do).

Extends

Constructors

Constructor

new UnsupportedCircuitShapeError(message, options?): UnsupportedCircuitShapeError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

UnsupportedCircuitShapeError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "UNSUPPORTED_CIRCUIT_SHAPE" = 'UNSUPPORTED_CIRCUIT_SHAPE'

Defined in: src/errors.ts:73

Overrides

ArmadaError.code