Error Message Craft

Parent: Writing and Documentation · researched 2026-05-29T18:25:36.049Z· 17 sources · 10 concepts · skill error-message-craft

Error messages are the most-read text most software ever produces. They are also the worst-edited. The goal: tell the user what went wrong, why it went wrong, and what to do next.

Overview

1. The "what / why / what to do next" triple

2. No-blame language — the system owns the failure

3. State the problem in user terms, not internal terms

4. Error codes — naming conventions

5. Provide a concrete next action, or admit you cannot

6. Conservative punctuation

7. i18n considerations

8. NN/g hostile patterns — what never to ship

9. Form-validation errors — inline, contextual, specific

References

Children

Frontier under this node: Concrete next action or admit there is none, Conservative punctuation (exclamation marks, ALL CAPS, ellipses), Error code conventions and status-code-vs-error-code distinction, Form-validation errors (inline, contextual, specific), Internationalization (pluralization, register, length budget), NN/g hostile patterns to avoid, No-blame language (system owns the failure), Separate user-facing string from log string with correlation IDs, The what / why / what-to-do-next triple, User terms vs internal terms

← the whole tree · 3D view· how to read this page