Error message
≈ 5 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In computing, an error message is a relatively short text message that describes a problematic situation. An error message generally indicates that an operation failed and may imply if not direct the user to a corrective action. An error message is a classification of information reported by software. Other information can be classified as a warning to describe a potential problem or as purely informational (not about a problem). Additionally, not all error information is classified as an error message. For example, a core dump or a stack trace may be reported about an error condition, but although they are a form of error information, they are not considered error messages. A more abstract representation of an error is sometimes used instead of a message such as an indicator light or a numeric display which may require the user to consult documentation to interpret the error. An error message can be reported in a variety of ways. For example, in a graphical user interface (GUI), an error message may be displayed in a dialog box. In a command-line interface (CLI), an error message may be printed to a standard stream. A program may write an error message to a log file. The proper design of error messages is an important aspect of usability and human–computer interaction.…
In computing, an error message is a relatively short text message that describes a problematic situation. An error message generally indicates that an operation failed and may imply if not direct the user to a corrective action. An error message is a classification of information reported by software. Other information can be classified as a warning to describe a potential problem or as purely informational (not about a problem). Additionally, not all error information is classified as an error message. For example, a core dump or a stack trace may be reported about an error condition, but although they are a form of error information, they are not considered error messages. A more abstract representation of an error is sometimes used instead of a message such as an indicator light or a numeric display which may require the user to consult documentation to interpret the error. An error message can be reported in a variety of ways. For example, in a graphical user interface (GUI), an error message may be displayed in a dialog box. In a command-line interface (CLI), an error message may be printed to a standard stream. A program may write an error message to a log file. The proper design of error messages is an important aspect of usability and human–computer interaction. When the content of an error message is misleading or wrong, the user struggles to correct the issue and to complete their desired task.
Content
The three main factors that influence the design of error messages are technical limitations, the amount of information to be presented, and what kind of user input is required. Some systems have technical limitations that may constrain the amount of information an error message can contain. For example, a printer with a sixteen-character alphanumeric display can only show a very limited amount of information at once, so it may need to display very terse error messages. Even with computer monitors, the programmer must consider the smallest monitor that a user might reasonably use, and ensure that any error messages will fit on that screen. The nature of the error determines the amount of information required to effectively convey the error message. A complex issue may require a more detailed error message in order to adequately inform the user of the problem. In general, software designers should take care that the content of a messages does not expose security risk. An error message should not expose information that can be exploited by a cracker to obtain information that is otherwise difficult to obtain. Examples are systems which may show either "invalid user" or "invalid password" depending on which is incorrect, and the error page in the web server IIS 5.0 which provides a complete technical description of the error including a source code fragment.
Examples
External links
A more useful 404 (A List Apart) Avoid being embarrassed by your error messages (UX Matters) Oops! I ruined your life. :) (Cooper Journal)
Text derived from https://en.wikipedia.org/w/index.php?oldid=1368122042 under CC BY-SA 4.0; modifications have been made.