Skip to content

@armada/sdk / index / PositionGapError

Class: PositionGapError

Defined in: src/errors.ts:66

An append-only merkletree received a leaf whose position isn't the tree's next slot (SPEC §4.3) — a gap that would corrupt every later proof. Typed so the quick-sync fallback classifier reports it as position-gap by code, not by matching message text.

Extends

Constructors

Constructor

new PositionGapError(message, options?): PositionGapError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

PositionGapError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "POSITION_GAP" = 'POSITION_GAP'

Defined in: src/errors.ts:67

Overrides

ArmadaError.code