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
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
JournalSealedError
Overrides
Properties
| Property | Modifier | Type | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
code | readonly | "journal_sealed" | RulvarError.code | - | packages/core/src/l0/errors.ts:269 |
data? | readonly | Json | - | RulvarError.data | packages/core/src/l0/errors.ts:64 |
retryable | readonly | boolean | - | RulvarError.retryable | packages/core/src/l0/errors.ts:63 |
Methods
toWire()
ts
toWire(): WireError;Defined in: packages/core/src/l0/errors.ts:75