Skip to content
mentoor

AI error states and recovery

For both

Graceful failure, specific error messages, recovery paths and feedback loops for AI features that fail loudly or quietly

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

An AI summary tool shows "Something went wrong" for every failure. Which change helps users most?

Choose one answer

Check yourself · 2 of 5

An AI feature fails with a timeout. What should happen to the text the user typed?

Choose one answer

Check yourself · 3 of 5

Which of these failures can your code detect without a human reader?

Choose one answer

Check yourself · 4 of 5

Why add reason codes after a thumbs-down?

Choose one answer

Check yourself · 5 of 5

What is the first step in turning a week of feedback into fixes?

Choose one answer

Topics

  1. Error messages that say what failed and what next4 min read · Specific causes such as timeouts, rate limits, content filters or no sources found, each with a next step and a reference id, never a bare "something went wrong"
  2. Recovery paths after an AI failure4 min read · Retrying safely, falling back to another model or a non-AI path, keeping the user's input, and degrading gracefully when the AI is unavailable
  3. Designing for wrong answers that look right4 min read · The failures the system cannot detect, such as hallucinated facts, plus over-refusals, and the design choices that let users catch and report them
  4. Capturing useful feedback on AI output4 min read · Thumbs plus reason codes, implicit signals such as copy, edit and regenerate, low-friction prompts and a clear note of what data is sent
  5. Closing the loop from errors to fixes4 min read · Triaging captured errors and feedback into categories, turning them into test cases, and telling users what changed

Start here

110 questions · last verified 2026-12