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
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
JournalSealedError
Overrides
Properties
| Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
code | readonly | "journal_sealed" | "journal_sealed" | RulvarError.code | - | packages/core/dist/index.d.ts |
data? | readonly | Json | undefined | - | RulvarError.data | packages/core/dist/index.d.ts |
retryable | readonly | boolean | undefined | - | RulvarError.retryable | packages/core/dist/index.d.ts |
Methods
toWire()
ts
toWire(): WireError;Defined in: packages/core/dist/index.d.ts