Programming - Concept
Exception
A signal that something unexpected has happened while a program is running
What's it for?
Gives software a structured way to report and respond to problems while it runs.
For example…
A program expects a number but receives invalid text, so it raises an exception that the software can catch and handle