Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / ReplayPlanHashMismatch

Class: ReplayPlanHashMismatch ​

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

Raised at resume when the refolded plan state disagrees with the journaled planHash chain (producers ship in M7).

Extends ​

Constructors ​

Constructor ​

ts
new ReplayPlanHashMismatch(message, opts?): ReplayPlanHashMismatch;

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

Parameters ​

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

Returns ​

ReplayPlanHashMismatch

Overrides ​

RulvarError.constructor

Properties ​

PropertyModifierTypeOverridesInherited fromDefined in
codereadonly"replay_plan_hash_mismatch"RulvarError.code-packages/core/src/l0/errors.ts:215
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