E0710 raising-non-exception

Message

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