Graceful failure

From Wikipedia, the free encyclopedia

Graceful failure of a program is a term used in computing to express inability of the program to perform requested operation of which user is notified. This is the preferred method of dealing with failure as opposed to

  • freeze or hangup (no information provided at all, inability to continue work with the program)
  • crash (unexpected termination of program execution)

Graceful failure is possible only for predictable states of the program. As today's computer systems are immensely complex in terms of their possible states, practically there are always situations for even trivial programs when they can fail without grace.