Rulvar API reference / @rulvar/rulvar / JournalOrderViolation
Class: JournalOrderViolation
Defined in: packages/core/dist/index.d.ts
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/dist/index.d.ts
Parameters
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
JournalOrderViolation
Overrides
Properties
| Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
code | readonly | "journal_order_violation" | "journal_order_violation" | 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