Practice

An error message is a system report, not a recovery instruction

The standard that governs error handling asks for three things, in order: that the error be made impossible, that the system survive it, and that it be reversible. The message appears in none of them.

ISO 9241-110:2020 places use error robustness at 5.6 and divides it into three obligations: avoidance at 5.6.2, tolerance at 5.6.3, recovery at 5.6.4. A message belongs to a different principle entirely, self-descriptiveness at 5.2, whose business is telling the person what the system is doing. Rewriting the message improves the report. It leaves all three obligations where they were.

The standard most teams meet as a list of seven agreeable principles has a structure worth reading closely. Self-descriptiveness concerns whether the system makes evident what it is doing and what state it is in. Use error robustness concerns whether it keeps working when somebody does the wrong thing, and divides into avoidance, tolerance and recovery. An error message is an instrument of the former. A team that answers a rising error rate by rewriting the message has improved its reporting and addressed none of the three.

The case for better wording is real and should not be dismissed. Shneiderman's experimental work in the early 1980s found that greater specificity, a more positive tone and improved clarity raised correction rates and satisfaction, and the guidelines drawn from it remain sound and widely ignored. What that establishes is that among messages, some are better than others. What it does not establish is that a message is the appropriate control: those participants were recovering from errors a compiler was always going to permit, in a setting where avoidance was unavailable. Most product errors are not in that position.

Avoidance asks what makes the error possible. A date field accepting an impossible date, a destructive action adjacent to a routine one, a value entered in one unit and read in another, a sequence whose fourth step depends on a decision taken at the first and no longer visible — in each case the design admits the error. Closing the admission is a change to the control, not the copy, and the message is never written.

Tolerance asks what happens when it occurs anyway. A form that discards twenty fields of correct input because the twenty-first failed validation is intolerant in the standard's sense, and no apology in the message compensates. This is the obligation most often skipped, because it is invisible when the system works and expensive to retrofit.

Recovery asks whether the state can be restored. An action that can be undone converts an error into a delay; one that cannot converts it into a consequence, and everything preceding it has to be stronger in proportion.

Messages absorb the effort because copy is cheap, owned by somebody who can change it this week, and produces a visible artefact. Constraining an input or building an undo is engineering work with schedule consequences, and it produces nothing anybody can point at: the measure of success is an error that does not happen. The same asymmetry explains why error-message audits recur and error-rate audits do not.

Sources

ISO 9241-110:2020, Ergonomics of human-system interaction — Part 110: Interaction principles. Clause structure as cited: 5.2 self-descriptiveness; 5.6 use error robustness, with 5.6.2 avoidance, 5.6.3 tolerance and 5.6.4 recovery. Clause titles are as published; no text is quoted.

Shneiderman, B. (1981). Human factors studies with system message styles. ACM SIGSOC Bulletin, 13(2–3), 138. Source of the experimental result on specificity, tone and clarity raising correction rates.

Shneiderman, B. (1982). Designing computer system messages. Communications of the ACM, 25(9), 610–611.

All sources are paraphrased; nothing above is quoted. The account of why messages absorb remediation effort in preference to design changes is the author's observation rather than a reported finding.

← All writing