Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

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

TitleMessageAction
Cannot resumeThe 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

ActionWhen
plan.getwhen a saved plan cannot be read.
plan.listwhen a saved plan cannot be read.
plan.reconcilewhen a saved plan cannot be read.
plan.resumewhen a saved plan cannot be read.

Catch it

Errors.hasCode("PLAN_INVALID") narrows to this error. See Handle errors.

Was this page helpful?