ArticleslgStudy

computer science

Error message

Error message is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Error message rather than just read about it. In short: 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.

Error message — main illustration
Error message — illustration

Key takeaways

  • Error message belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Error message to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Error message from memory before moving on to harder problems.

Reference excerpt

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.

Presentation While graphical user interfaces have different conventions for displaying error messages, several techniques are common.

Modal dialog box (a.k.a. pop-up message) Appears in a window on the screen, blocking further interaction until it is dismissed. Notification icon An icon appears to notify the user about a condition without interrupting their work (not modal). On Windows, a notification icon appears in the taskbar. On Mac OS X, a notification icon may appear in the menu bar, or may take the form of an application's icon "bouncing" in the Dock. The GNOME user interface for Unix-based systems can display notification icons in a panel. Status bar Relatively short error messages may be displayed in a status bar which is generally at the bottom of an application's window.

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 (both in terms of display size and resolution), 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

Common errors The following error conditions are often reported via an error message. When such a condition occurs, the section header text might be reported as an error message and in fact is in some contexts, but different text is used for the condition in other contexts.

Access denied The user does not have privilege to complete an operation. Device not ready Most often occurs when there is no floppy disk (or a bad disk) in the disk drive and the system tries to a access that disk. Disk Boot Failure Commonly occurs when the computer's disk storage is having problems. If the computer can boot from a network, it may instead display the message "Media test failure, check cable". File not found A specified file is not found as specified. A similar error occurs on the web as HTTP status code 404 to indicate that a resource is not found. Low Disk Space This condition occurs when a storage drive is nearly full. To fix this, the user should release storage space (i.e. delete files) or use a different drive. Out of memory The system has insufficient RAM for an operation. Fixes include closing programs and installing more memory. Resource not found HTTP status code 404 usually results from a link to a page that has been moved or deleted, or a mistyped URL.

Specific error messages Notable error messages in specific computing contexts include:

… excerpt ends here. Continue reading the full article.

Illustrations

Error message: An error message when attempting to use MediaWiki's VisualEditor
An error message when attempting to use MediaWiki's VisualEditor
Error message: An example of an Error message .vbs script
An example of an Error message .vbs script
Error message: Tumbeasts gnawing on servers, used by Tumblr in 2011
Tumbeasts gnawing on servers, used by Tumblr in 2011

Worked examples

Example 1 — a first encounter with Error message

Start with the simplest possible case. Write down what Error message claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Error message before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Error message ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Error message

In research
Error message appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Error message in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Error message is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer errors, Human–computer interaction, so understanding it makes those chapters shorter.
In everyday life
Look for Error message outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Error message” →

How to study Error message in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Error message means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Error message out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Error message in simple terms?

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.

Why does Error message matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Error message?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Error message.

Tags

  • Computer errors
  • Human–computer interaction

Keep exploring