E0712 catching-non-exception¶
- Message
"Catching an exception which doesn't inherit from Exception: %s"
- Description
Used when a class which doesn’t inherit from Exception is used as an exception in an except clause.
"Catching an exception which doesn't inherit from Exception: %s"
Used when a class which doesn’t inherit from Exception is used as an exception in an except clause.