20.3 — Exceptions, functions, and stack unwinding
In the previous lesson on , we explained how throw, try, and catch work together to enable exception handling. In this lesson, we’ll talk about how exception handling interacts with functions. Throwing exceptions outside of a try block In the examples in the previous lesson, the throw statements were placed …