Exception

Noun · Development

Definitions

  1. An abnormal condition that disrupts the normal flow of a program's execution. When raised (or thrown), an exception propagates up the call stack until it is caught by a handler or crashes the program.

    In plain English: When something goes wrong in your code and it yells for help — if nobody catches the problem, the whole program stops.

    Example: "We wrapped the API call in a try-catch so a network timeout doesn't crash the whole service."

Related Terms