All Topics  
Error message

 

   Email Print
   Bookmark   Link






 

Error message



 
 
An error message is a message displayed when an unexpected condition occurs, usually on a computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
 or other device. Error messages are often displayed using dialog box
Dialog box

In graphical user interfaces, a dialog box is a special Window , used in user interfaces to display information to the user, or to get a response if needed....
es. Error messages are used when user intervention is required, indicate that a desired operation has failed, or give very important warnings such as being out of hard disk
Hard disk

A hard disk drive , commonly referred to as a hard drive, hard disk, or fixed disk drive, is a non-volatile storage device which stores digitally encoded data on rapidly rotating hard disk platters with magnetic surfaces....
 space. Error messages are pervasive throughout computing, and are part of every operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
, or computer hardware
Computer hardware

A personal computer is made up of computer hardware, multiple physical components onto which can be loaded into a multitude of software that perform the functions of the computer....
 device.






Discussion
Ask a question about 'Error message'
Start a new discussion about 'Error message'
Answer questions from other users
Full Discussion Forum



Encyclopedia


An error message is a message displayed when an unexpected condition occurs, usually on a computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
 or other device. Error messages are often displayed using dialog box
Dialog box

In graphical user interfaces, a dialog box is a special Window , used in user interfaces to display information to the user, or to get a response if needed....
es. Error messages are used when user intervention is required, indicate that a desired operation has failed, or give very important warnings such as being out of hard disk
Hard disk

A hard disk drive , commonly referred to as a hard drive, hard disk, or fixed disk drive, is a non-volatile storage device which stores digitally encoded data on rapidly rotating hard disk platters with magnetic surfaces....
 space. Error messages are pervasive throughout computing, and are part of every operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
, or computer hardware
Computer hardware

A personal computer is made up of computer hardware, multiple physical components onto which can be loaded into a multitude of software that perform the functions of the computer....
 device. Proper design of error messages is an important topic in usability
Usability

Usability is a term used to denote the ease with which people can employ a particular tool or other human-made object in order to achieve a particular goal....
 and other fields of human-computer interaction.

Common error messages

These computer-related error messages can occur in almost any program.
  • File not found occurs when the requested file cannot be found. The file may have been damaged, moved, deleted, or a bug
    Glitch

    A glitch is a short-lived fault in a system. The term is particularly common in the computing and electronics industries, and in circuit bending, as well as among players of video games, although it is applied to all types of systems including human organizations and nature....
     may have caused the error.
  • The device is not ready most often occurs when there is no floppy disk
    Floppy disk

    A floppy disk is a data storage medium that is composed of a disk of thin, flexible magnetic storage medium encased in a square or rectangle plastic shell....
     (or a bad disk) in the disk drive and the system tries to perform tasks involving the floppy disk.
  • Access is denied occurs if the user has insufficient privileges to a file, or if it has been locked
    File locking

    File locking is a mechanism that enforces access to a computer file by only one user or computer process at any specific time. The purpose of locking is to prevent the classic interceding update scenario....
     by some program or user.
  • Out of memory
    Out of memory

    Out of memory is an undesired state of computer operation where no additional memory can be allocated for use by programs or the operating system....
     occurs when the system has run out of memory or tries to load a file too large to store in RAM. The fix is to close some programs or get more memory.
  • Low Disk Space occurs when the hard drive is full. To fix this, close some programs (to free swap file
    Virtual memory

    Virtual memory is a computer system technique which gives an application program the impression that it has contiguous working memory , while in fact it may be physically fragmented and may even overflow on to disk storage....
     usage) and delete some files (normally temporary files, or other files after they have been backed up), or get a bigger hard drive.
  • [program name] has encountered a problem and needs to close. We are sorry for the inconvenience. Windows XP
    Windows XP

    Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
     message displayed when a program causes a general protection fault
    General protection fault

    A General Protection Fault in the Intel x86 and AMD x86-64 CPU Architectures, and other unrelated architectures, is a fault which can encompass several cases where protection mechanisms within the processor architecture are violated by any of the programs that are running, whether it be the kernel or user program....
     or invalid page fault
    Page fault

    In computer storage technology, a page is a fixed-length block of memory that is used as a unit of transfer between physical memory and external storage like a hard disk, and a page fault is an interrupt to the software raised by the hardware, when a program accesses a page that is mapped in address space, but not loaded in physical memory....
    .
  • The blue screen of death
    Blue Screen of Death

    The Blue Screen of Death is a humorous term used for the error screen displayed by some operating systems, most notably Microsoft Windows, after encountering a critical system error which can cause the system to shut down to prevent damage....
    .


Famous error messages

  • Abort, Retry, Fail?
    Abort, Retry, Fail?

    Abort, Retry, Fail? is a catch-all error message displayed by newer versions of MS-DOS when it is unable to read necessary data from Recording medium....
  • Bad command or file name
    Bad command or file name

    "Bad command or file name" is a common error message in Microsoft's MS-DOS and some other operating systems.In command.com, the message Bad command or file name indicates a "syntax error" message, which had its origins in the BASIC programming language interpreter s of the 1980s....
  • PC LOAD LETTER
    PC Load Letter

    PC LOAD LETTER is a technology meme, originally a computer printer error message, which has grown into popular culture as a reference to a confusing or inappropriate error message....
  • Lp0 on fire
    Lp0 on fire

    lp0 on fire is a semi-obsolete error message still generated on some Unix/Linux operating systems in response to certain types of Computer printer errors....
  • Not a typewriter
    Not a typewriter

    In computer science "Not a typewriter" or ENOTTY is an error code defined in the errno.h found on many Unix systems. This code is used to indicate that an attempt has been made to use a non-TTY device as a TTY device....
  • Application "BSOD" has performed an illegal operation. BSOD will now close (fake)


Error message linguistics

The amount of memory available to programs
Computer program

Computer programs are Instruction for a computer. A computer requires programs to function. Moreover, a computer program does not run unless its instructions are executed by a Central processing unit; however, a program may communicate an Algorithm#Formalization of algorithms to people without running....
 has historically increased exponentially according to Moore's Law
Moore's Law

Moore's law describes a long-term trend in the history of computing hardware. Since the invention of the integrated circuit in 1958, the number of transistors that can be placed inexpensively on an integrated circuit has increased exponential growth, doubling approximately every two years....
; contrapositively, it decreases exponentially into the past.

Due to such pressures, past programmers were innately sensitive to memory consumption, and such sensitivities extended to error messages. Extraneous words were shunned, no matter their grammatical necessity. "File not found" could have read "The file could not be found," but such a statement would have been twice as memory-expensive.

Error message usability checklist

To be effective, an error message must contain the following information:

  • Message ID - For many applications, a reference number for the error is an invaluable piece of information. This number will help network support personnel to easily diagnose the error and possible courses of action. An index also serves as a universally understood indicator of an error in situations where various languages are used.


  • Timestamp - The date and time of the onset of an error should be displayed so that the help centre can correlate the event to log files with the same timestamp.


  • Message type and severity - Classify the error as either an automatically recoverable error, manually recoverable error, or non-recoverable error, or some other appropriate label. Inform the user about the level of severity, and tell the user about the possible consequences of the exception.


  • User and process details - Display information that identifies the user who “triggered” the error in the form of a user ID or whatever system is used to identify users for the specific system. The process or task that the system was trying to perform should also be documented in case users have multiple applications running and are not sure which one caused the error. This information is important in diagnosing errors from a helpdesk perspective.


  • Short message with details button - The displayed message should be clear and concise, in "novice user" language. It should contain the reference number and the basic information regarding the type of error, severity, and corrective action. There should also be a details button which shows an advanced user more information about the specifics of the error. The details button can also be used to explain corrective actions to the user.


  • Program state and configuration - Show information about the error that is relevant to the user. For example, if the user entered an invalid value in a field, the error message should tell the user which field caused the error and what the invalid values were. Showing current program field values and applicable configuration information in the message will allow the user to deduce the cause of the error and correct it. If a piece of hardware is not configured properly, the current configuration can point the user to the real problem. For example, if you have the wrong printer set as your default, the error message should show which printer is currently set to default so the user can clearly see that there is a problem. i.e. "Printer Epson 123A not ready" instead of "Printer not ready".


Message format

The format for error messages is not static. The format of error messages is dependent on many things, however the three main factors that influence the format design are as follows.

Technical limitations

The strengths and restrictions of the technology you're working with should be among the first things you take into account when planning error messages. You must be careful to ensure that the medium you use to communicate the error supports the size, shape, and style of your error message.

Amount of information presented

The nature of the error message will determine the amount of information required for the error message. If the error message is short –"Sorry, our Web site is currently undergoing maintenance, Please try again later." it may be more effective as a pop-up window than as a separately loaded page. This is because short messages can easily be drowned out if there is other content on the page. If there is no other content on the error message page, then the short error message will look out of place on a big empty page.

User input required

Finally, you should choose an error message format based on the type of input you require from the user to correct a problem. Errors that simply inform the user of a problem that they can’t fix, such as a busy server on a website, are best suited to pop ups. In this situation, all you need to do is inform the user of the problem, as no corrective action aside from trying again later. The only control available to the user should be the “Ok” button. However, controls such as “Retry/OK” and “Cancel” should be used if the user is being prompted to corrective action. For example, “Windows encountered an error and needs to restart. Would you like to restart now?” should include an option to cancel and to restart. The buttons should correspond to the available options, i.e. “Restart now” button vs. “OK”, and “Later” vs. “Cancel”. This makes the options clearer to the user and thereby being conducive to correct decision making.

Presentation guidelines

The presentation and appearance of error messages are critical factors that heavily influence how well a user comprehends and responds to an error message. The following three principles should be adhered to when designing an error message.

Capture the user's attention

The visual attributes of an error message, including its color, size, and location can and should be used to grab the user’s attention and inform them that an error has occurred. Usually, the color red, a bold font, and the location at the top of the page and in front of any other window are good ways to allow the user to know that an error is present. In addition, an exclamation point is often used as an iconographic symbol to express importance.

Explain what went wrong

To effectively communicate with users, the application must speak their language. Messages must explain what the problem is using terminology that even a novice user can understand. The key idea here is to explain what went wrong, not just tell the user an error code. This is not to say to never include error codes in the error message. Instead, explain it in the proper context if it could prove useful. For example, an error message could reference error code 3555 and display the message “Please contact our help desk and reference error code 3555 for assistance”.

Show where error occurred and suggest possible solutions

Pointing users to solutions can be accomplished many ways. The language used is an important factor in getting users to understand what went wrong and consequently, how to fix it. For example, a poor error message might read, "You have entered an invalid string character in Field 123A". A better error message reads, "The zip code field contains an invalid character. Only numbers may be entered". Novice users won’t know what a string character or field 123A is, but they will recognize what the zip code field and “numbers” are.

Additionally, you can show the user exactly where the problem occurred by providing visual cues such as highlighting the field label with color, font treatment, and iconographic images.

Once an error is located, instructions should be given to the user on corrective action, once again explained in the users’ language.

Providing examples of acceptable input is also a powerful technique for suggesting solutions for certain types of errors.

Design heuristics

The following is a general set of guidelines to aid in the effective design of error messages. There are many more that can be found in many different texts and this list is by no means absolute. Those included below are only a few of the commonly accepted heuristics.

  • Do provide useful information that helps the user diagnose the problem - i.e. Use “Link target does not exist” instead of “Bad link”.
  • Do be precise - i.e. “Missing file name extension” instead of “File not found.”
  • Do describe the problem - i.e. “Disk full” instead of “File error.”
  • Do use a neutral tone - i.e. Change the tone in “Bad input” to “Command is unrecognizable.” to avoid blaming the user.
  • Do use complete sentences - i.e. Use “Binding is too long.” rather than “Binding too long.”
  • Do not personify the system, unless you mean to convey a sense of naturalness - i.e. “Node parameter cannot use Windows NT protocols.” is better than “Parameter node does not speak any of our protocols.”
  • Avoid displaying an error message at all, if possible, i.e. disable the Paste option if no data is on the clipboard
    Clipboard (software)

    The clipboard is a software facility that can be used for short-term Computer data storage and/or data transfer between documents or applications, via copy and paste operations....
    , instead of showing an error like “No data on clipboard” when the user attempts a paste operation.


Popular Culture


Using a programming language such as PHP
PHP

PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in Standalone software Graphical user interface....
, JavaScript
JavaScript

JavaScript is a scripting language widely used for client-side web development. It was the originating Programming language dialect of the ECMAScript standard....
, Visual Basic
Visual Basic

'Visual Basic' is the third-generation programming language event-driven programming and integrated integrated development environment from Microsoft for its Component Object Model programming model....
 or C++
C++

C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
, one can easily create their own error messages. As a result, many and exist that do just that, allowing a person to create a message and display it on another person's computer, in an attempt to trick them.

See also

  • Human-computer interaction
  • Interaction design
    Interaction design

    Interaction Design is the discipline of defining the behavior of products and systems that a user can interact with. The practice typically centers around complex technology systems such as Computer software, Handheld devices, and other electronic devices....
  • Usability
    Usability

    Usability is a term used to denote the ease with which people can employ a particular tool or other human-made object in order to achieve a particular goal....
  • User interface design
    User interface design

    User interface design or user interface engineering is the design of computers, appliances, machines, Communication, software applications, and websites with the focus on the user experience and interaction....