Always catch by const reference: Catching by reference preserves the original exception type through polymorphism. You can catch a base class reference but still access derived class methods if the object was a derived type.
Use Understanding this concept deeply will help you write better code. Practice with examples until the pattern becomes automatic. Review earlier sections if anything is unclear. Building on solid foundations makes advanced topics easier.