Skip to content

Glossary: C++ Basics

Exception

Also written: exceptions

An object thrown to report an error to the caller, which can catch it with `catch`. If nothing catches it, the program ends.

Where the book teaches it

Related terms

throwtrycatchStack unwinding