3 ms·
Exceptions propagate up the call stack until caught, simple as that. I prefer this way, but there was one thing I didn't understand until Ned Batchelder taught
by digisign 4y ago
Exceptions propagate up the call stack until caught, simple as that.
I prefer this way, but there was one thing I didn't understand until Ned Batchelder taught me, how to layer them:
- https://nedbatchelder.com/text/exceptions-in-the-rainforest.html https://nedbatchelder.com/text/exceptions-in-the-rainforest....
- https://nedbatchelder.com/text/exceptions-vs-status.html https://nedbatchelder.com/text/exceptions-vs-status.html
I didn't have the full mental model until I read that.