wrong-exception-operation / W0716#

Message emitted:

Invalid exception operation. %s

Description:

Used when an operation is done against an exception, but the operation is not valid for the exception in question. Usually emitted when having binary operations between exceptions in except handlers.

Correct code:

# This is a placeholder for correct code for this message.

Additional details:

You can help us make the doc better by contributing !

Created by the exceptions checker.