Skip to content

Rulvar API reference


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

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

Returns

JournalOrderViolation

Overrides

RulvarError.constructor

Properties

PropertyModifierTypeOverridesInherited fromDefined in
codereadonly"journal_order_violation"RulvarError.code-packages/core/src/l0/errors.ts:194
data?readonlyJson-RulvarError.datapackages/core/src/l0/errors.ts:64
retryablereadonlyboolean-RulvarError.retryablepackages/core/src/l0/errors.ts:63

Methods

toWire()

ts
toWire(): WireError;

Defined in: packages/core/src/l0/errors.ts:75

Returns

WireError

Inherited from

RulvarError.toWire