Rulvar API reference / @rulvar/core / JournalOrderViolation
Class: JournalOrderViolation
Defined in: packages/core/src/l0/errors.ts:193
A breach of the total per-run append order: an unfenced concurrent writer or a store violating contract A2 (https://docs.rulvar.com/guide/stores).
Extends
Constructors
Constructor
ts
new JournalOrderViolation(message, opts?): JournalOrderViolation;Defined in: packages/core/src/l0/errors.ts:196
Parameters
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
JournalOrderViolation
Overrides
Properties
| Property | Modifier | Type | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
code | readonly | "journal_order_violation" | RulvarError.code | - | packages/core/src/l0/errors.ts:194 |
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