raising-non-exception / E0710#

Message emitted:

Raising a new style class which doesn't inherit from BaseException

Description:

Used when a new style class which doesn't inherit from BaseException is raised.

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.