Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / JournalSealedError

Class: JournalSealedError

Defined in: packages/core/dist/index.d.ts

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/dist/index.d.ts

Parameters

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

Returns

JournalSealedError

Overrides

RulvarError.constructor

Properties

PropertyModifierTypeDefault valueOverridesInherited fromDefined in
codereadonly"journal_sealed""journal_sealed"RulvarError.code-packages/core/dist/index.d.ts
data?readonlyJsonundefined-RulvarError.datapackages/core/dist/index.d.ts
retryablereadonlybooleanundefined-RulvarError.retryablepackages/core/dist/index.d.ts

Methods

toWire()

ts
toWire(): WireError;

Defined in: packages/core/dist/index.d.ts

Returns

WireError

Inherited from

RulvarError.toWire