2 ms·
There's no exception hierarchy. Knowing what exception something can raise is very important. Often, you don't. Java has an exception hierarchy and exceptions
by pvg 10y ago
There's no exception hierarchy. Knowing what exception something can raise is very important. Often, you don't.
Java has an exception hierarchy and exceptions as part of method signatures. If anything, Python's exception hierarchy started getting sorted out relatively recently.
- bshanks 10y agoSomewhat off-topic, but I'm curious to learn about the relatively recent changes in Python's exception hierarchy, could you point me to a link?