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_CHAIN_MISMATCH

What PLAN_CHAIN_MISMATCH 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

The plan was prepared for another chain.

What to show users

TitleMessageAction
Wrong networkThis was prepared for a different network.

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.
plan.sendfor a plan prepared elsewhere.

Catch it

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

Was this page helpful?