PLAN_ACCOUNT_MISMATCH
What PLAN_ACCOUNT_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 account.
What to show users
| Title | Message | Action |
|---|---|---|
| Wrong account | This was prepared for a different account. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
plan.resume | when the plan cannot continue here. |
plan.send | for a plan prepared elsewhere. |
Catch it
Errors.hasCode("PLAN_ACCOUNT_MISMATCH") narrows to this error. See Handle errors.
Was this page helpful?