Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / JournalSealedError

Class: JournalSealedError

Defined in: packages/core/src/l0/errors.ts:268

A journal append arrived after the run's settle sealed the segment (RV1904): once run_settle is durable, the journal is the terminal truth every cost and invoice fold reads, and a late append would silently split it into the four mutually inconsistent views the four-role benchmark recorded. The orchestrate exit barrier (RV1903) and the engine's settle drain terminate every straggler BEFORE the seal, so this error names a lifecycle bug, never a working path.

Extends

Constructors

Constructor

ts
new JournalSealedError(message, opts?): JournalSealedError;

Defined in: packages/core/src/l0/errors.ts:271

Parameters

ParameterType
messagestring
opts?{ cause?: unknown; data?: Json; }
opts.cause?unknown
opts.data?Json

Returns

JournalSealedError

Overrides

RulvarError.constructor

Properties

PropertyModifierTypeOverridesInherited fromDefined in
codereadonly"journal_sealed"RulvarError.code-packages/core/src/l0/errors.ts:269
data?readonlyJson-RulvarError.datapackages/core/src/l0/errors.ts:64
retryablereadonlyboolean-RulvarError.retryablepackages/core/src/l0/errors.ts:63

Methods

toWire()

ts
toWire(): WireError;

Defined in: packages/core/src/l0/errors.ts:75

Returns

WireError

Inherited from

RulvarError.toWire