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
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
PlanInvariantError
Overrides
Properties
| Property | Modifier | Type | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
code | readonly | "plan_invariant" | RulvarError.code | - | packages/core/src/l0/errors.ts:203 |
data? | readonly | Json | - | RulvarError.data | packages/core/src/l0/errors.ts:64 |
retryable | readonly | boolean | - | RulvarError.retryable | packages/core/src/l0/errors.ts:63 |
Methods
toWire()
ts
toWire(): WireError;Defined in: packages/core/src/l0/errors.ts:75