Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / ReplayPlanHashMismatch

Class: ReplayPlanHashMismatch ​

Defined in: packages/core/dist/index.d.ts

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/dist/index.d.ts

Parameters ​

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

Returns ​

ReplayPlanHashMismatch

Overrides ​

RulvarError.constructor

Properties ​

PropertyModifierTypeDefault valueOverridesInherited fromDefined in
codereadonly"replay_plan_hash_mismatch""replay_plan_hash_mismatch"RulvarError.code-packages/core/dist/index.d.ts
data?readonlyJsonundefined-RulvarError.datapackages/core/dist/index.d.ts
retryablereadonlybooleanundefined-RulvarError.retryablepackages/core/dist/index.d.ts

Methods ​

toWire() ​

ts
toWire(): WireError;

Defined in: packages/core/dist/index.d.ts

Returns ​

WireError

Inherited from ​

RulvarError.toWire