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
| Title | Message | Action |
|---|---|---|
| Cannot continue | This 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
| Action | When |
|---|---|
plan.resume | when the plan cannot continue here. |
Catch it
Errors.hasCode("PLAN_ROUTE_REQUIRED") narrows to this error. See Handle errors.
Was this page helpful?