Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / PlanInvariantError

Class: PlanInvariantError ​

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

PlanRunner plan-invariant rejection (producers ship in M7).

Extends ​

Constructors ​

Constructor ​

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

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

Parameters ​

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

Returns ​

PlanInvariantError

Overrides ​

RulvarError.constructor

Properties ​

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