Exact Terms

Prompt template

Recovery path prompts for failed API flows.

Use this when an API failure leaves users stuck, unsure whether work saved, or forced to restart.

Copy/paste template

Prompt

Design recovery paths for this API-backed flow. Classify each failure with an error taxonomy, timeout budget, retry policy, fallback UI, draft persistence rule, state reconciliation rule, and user-facing next action. Cover validation failure, auth failure, network loss, timeout, partial success, stale data, duplicate submit, and service outage.

Terms this prompt forces into the work

Recovery path

Defines how the user continues after each failure.

Error taxonomy

Separates user-fixable, retryable, and support-required failures.

Fallback UI

Prevents a failed component from becoming a dead end.

Related guides

Common questions

What makes a recovery path good?

The user knows what happened, whether work is safe, what can be retried, and what action to take next.

Should every error use the same message?

No. Different failures need different recovery paths, retry rules, and user actions.