While this leads to slightly more complicated user code for the common case (checking if the exception is of a given type) it's easier to implement and more flexible.
While this leads to slightly more complicated user code for the common case (checking if the exception is of a given type) it's easier to implement and more flexible.