PLAN_INVALID
What PLAN_INVALID means, why PlanError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.
PlanErrorNot retryable
@ensforge/sdk
What happened
The text is not a serialized ensforge plan.
What to show users
| Title | Message | Action |
|---|---|---|
| Cannot resume | The saved progress is damaged. | Start again. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
plan.get | when a saved plan cannot be read. |
plan.list | when a saved plan cannot be read. |
plan.reconcile | when a saved plan cannot be read. |
plan.resume | when a saved plan cannot be read. |
Catch it
Errors.hasCode("PLAN_INVALID") narrows to this error. See Handle errors.
Was this page helpful?