Let OutcomeException
inherit from Exception
instead of BaseException
#12235
Labels
type: docs
documentation improvement, missing or needing clarification
What's the problem this feature will solve?
This allows for the usual handling and follows the Python documentation.
Describe the solution you'd like
Replace inheritance of
OutcomeException
fromBaseException
withException
Alternative Solutions
I can rewrite the code to expect a
BaseException
, but it does not follow Pythons recommend practice of inheriting user defined exceptions fromException
Additional context
I'm curious to learn what the motivation is for inheriting from
BaseException
instead ofException
.The text was updated successfully, but these errors were encountered: