Error handling refers to the routines in a program that respond to abnormal input or conditions. The quality of such routines is based on the clarity of the error messages and the options given to users for resolving the problem. Contrast with "exception handling," which deals with responses to abnormal conditions that are built into the programming language or the hardware. See
exception handling and
channel coding.