Skip to content

Glossary: C++ Basics

catch

Also written: catch block

The block after a `try` that handles one kind of thrown exception. It runs only if a matching exception is thrown inside the `try`.

Where the book teaches it

Related terms

trythrowException