Rulvar API reference / @rulvar/rulvar / PlanInvariantError
Class: PlanInvariantError
Defined in: packages/core/dist/index.d.ts
PlanRunner plan-invariant rejection (producers ship in M7).
Extends
Constructors
Constructor
ts
new PlanInvariantError(message, opts?): PlanInvariantError;Defined in: packages/core/dist/index.d.ts
Parameters
| Parameter | Type |
|---|---|
message | string |
opts? | { cause?: unknown; data?: Json; } |
opts.cause? | unknown |
opts.data? | Json |
Returns
PlanInvariantError
Overrides
Properties
| Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
code | readonly | "plan_invariant" | "plan_invariant" | RulvarError.code | - | packages/core/dist/index.d.ts |
data? | readonly | Json | undefined | - | RulvarError.data | packages/core/dist/index.d.ts |
retryable | readonly | boolean | undefined | - | RulvarError.retryable | packages/core/dist/index.d.ts |
Methods
toWire()
ts
toWire(): WireError;Defined in: packages/core/dist/index.d.ts