You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, most exceptions are generic Exceptions and are caught without reraising. This prohibits any fatal exceptions from cascading into a desired system exit. Instead, we want to catch and reraise fatal errors (SystemExits) independently from generic Exceptions like this:
Currently, most exceptions are generic
Exception
s and are caught without reraising. This prohibits any fatal exceptions from cascading into a desired system exit. Instead, we want to catch and reraise fatal errors (SystemExit
s) independently from genericException
s like this:From:
To:
We also want to raise
SystemExit
s from specificException
s (e.g.,RuntimeError
) for fatal errors.The text was updated successfully, but these errors were encountered: