✦ For everyone, free.

Practical knowledge for real and everyday life

Home

21.11 Error Message Communication

Error Message Communication explores how systems convey errors through feedback, shaping user interaction and system reliability in cybernetic frameworks.

Error message communication is the practice and study of how machine systems convey information about failures, invalid states, and unexpected conditions to human users in ways that enable understanding and effective response. An error message is not merely a technical report of an exception condition — it is a communicative act directed at a human reader who must understand what went wrong, assess its significance, and decide what to do. The quality of error message communication determines whether the human-machine feedback loop can close through correction when something goes wrong, or whether the error message itself becomes a second barrier to goal achievement on top of the error it reports.

The Communicative Requirements of Error Messages

An error message that serves its communicative purpose must accomplish several things simultaneously:

Identification: It must clearly communicate that an error has occurred and capture enough user attention to ensure the message is read. An error that occurs silently, or whose signal is so subtle that it is overlooked, leaves the user proceeding on the false assumption that their action succeeded. Error identification requires both the appropriate salience of the signal and clear labeling that distinguishes error states from normal operation.

Explanation: It must communicate what went wrong in terms the user can understand. This requirement places the explanation in the user's conceptual vocabulary rather than the system's internal vocabulary. An error message expressed in technical system terms — stack traces, exception class names, internal state codes — communicates the error accurately to a system developer while communicating nothing useful to a typical user. The same error must be expressed differently for different audiences.

Attribution: It must communicate, where possible, why the error occurred — what the user did or what condition exists that caused the failure. Attribution allows the user to correct the cause rather than simply retrying the same failed action. Error messages that identify that something is wrong without indicating why it is wrong leave users experimenting with random variations to discover what change might resolve the problem.

Resolution guidance: It must communicate what the user should do to address the error. This may be a specific corrective action ("Check that the file is not open in another program"), a set of alternative approaches, a direction to seek further information, or an explanation of limitations that prevent resolution. Resolution guidance transforms an error message from a dead end into a path forward.

Error Message Communication Identification Error clearly signaled Explanation What went wrong (user terms) Attribution Why it happened Resolution Guidance Next step All four components needed for actionable error communication Missing any component forces users to guess what to do next

Common Failures in Error Message Communication

Error message communication fails in predictable ways that correspond to the omission or distortion of one or more of its required components:

Technical language without translation is the most common failure: error messages that accurately describe the error in system-internal terms while failing to translate that description into user-understandable language. "NullPointerException in thread main at com.system.DataProcessor.process(DataProcessor.java:47)" is precise but communicates nothing actionable to a non-developer user. The error exists, but the feedback loop is severed by the inaccessibility of the error description.

Vague identification without specificity produces messages that signal error without specifying what the error is: "An error occurred," "Something went wrong," "Please try again." These messages close the feedback loop for error identification — the user knows that something failed — but provide no basis for understanding why or what to do differently. Users who receive such messages are left to experiment without direction.

Blame-attributing language in error messages that frame user actions as mistakes in critical or unhelpful terms creates negative emotional responses that impede clear thinking about resolution. Error messages should be neutral about causation and focused on resolution, not on assigning blame or emphasizing the user's error.

Premature resolution advice — suggestions that are technically correct but contextually inappropriate — can mislead users by directing them to actions that do not apply to their situation. Resolution guidance must be sensitive to the specific user context; generic advice that applies only to some instances of an error code should either be specific or acknowledge the range of possible causes.

Error Message Design and User Mental Models

The language, structure, and content of error messages shape user mental models of what the system is and how it works. Users who regularly encounter informative, plain-language error messages that correctly identify problems and guide resolution develop mental models of the system as comprehensible and manageable — a system that communicates when something is wrong and helps users understand and address the problem. Users who regularly encounter cryptic, technical, or unhelpful error messages develop mental models of the system as opaque, unpredictable, and hostile — a system that fails without explanation.

These mental model effects extend beyond the immediate error situation. Users with models of the system as manageable are more willing to explore, take appropriate risks, and persist through difficulties. Users with models of the system as opaque are more avoidant, more likely to abandon tasks at early signs of difficulty, and more likely to seek workarounds that bypass the interface's intended workflows.

Severity and Tone in Error Communication

Error messages span a wide range of severity — from minor warnings about suboptimal choices to critical errors indicating data loss or security breaches. Effective error message communication calibrates the tone, prominence, and urgency of the message to the severity of the error. Minor warnings should be informative but unobtrusive; critical errors should be prominent, urgent, and specific about the seriousness of the situation and the immediacy of required action.

Uniform severity presentation — all errors treated with the same prominence regardless of their seriousness — produces two characteristic problems. When all errors are presented prominently, users habituate to error signals and begin dismissing them without reading, including when the errors are serious. When all errors are presented subtly, critical failures may be overlooked. Distinguishing error severity visually and linguistically — through color, iconography, layout prominence, and language register — maintains the communicative salience of serious errors while not overwhelming users with high-priority signals for routine issues.

Error Recovery and Communication

An error message is the beginning of the error recovery process, not its end. The recovery process requires that users understand the error, identify the corrective action, execute it, and verify that it resolved the problem. Error message communication that is excellent at identification and explanation but silent on resolution leaves users stranded at the critical point where guidance would allow recovery to proceed. The best error messages accompany identification and explanation with specific, actionable recovery steps — and where recovery is beyond the user's ability, clear direction about where to get help.