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_ROUTE_REQUIRED

What PLAN_ROUTE_REQUIRED means, why PlanError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

PlanErrorNot retryable
@ensforge/sdk

What happened

Part of this plan was sent through a route (via), which resuming needs again.

What to show users

TitleMessageAction
Cannot continueThis transaction must be continued the same way it was started.

How to fix

Pass the same via to plan.resume, e.g. via: hca().

Retry safety

Retrying the same call fails the same way until the cause is fixed (retryable: false).

Actions that throw it

ActionWhen
plan.resumewhen the plan cannot continue here.

Catch it

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

Was this page helpful?