W0716 wrong-exception-operationΒΆ

Message

'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.