Error State
How the interface shows something went wrong and how to recover.
See it on the 3D treeGoing deeper
It may be a message beside a field, a banner or a whole page. Good ones say what happened in plain language, appear near the problem, keep what the person already entered and offer a next step, such as retrying. Colour is supported by text or an icon.
Why it matters
Errors are where people are most likely to give up, so a clear way back protects both trust and completed tasks.
In practice
A declined card keeps the order and address intact, explains that payment did not go through and offers another method.
Common mistake
Showing a vague Something went wrong with a code, with no explanation or way to recover.
Connected terms
- Empty StateDistinguish having nothing yet from something having gone wrong.
- Form ValidationValidation detects problems with input; the error state is how they are shown.
- Loading StateEvery wait can fail, so design where it leads when it does.
- Acceptance CriteriaCriteria are a good place to require that failure cases are designed and built.
- AI InterfaceFailed or refused requests need clear explanations and a way forward.
- Error PreventionBetter than a good error message is a design that stops the error happening.
- MicrocopyThe wording should explain the fix without blaming the person.
- Semantic ColourRed usually signals errors, but needs text or an icon so meaning does not rely on colour.