Inspectopedia
 
2024.3

Exceptions do not inherit from standard 'Exception' class

Warning
New
Last modified: 03 December 2024

Reports cases when a custom exception class is raised but does not inherit from the builtin Exception class.

Example:

The proposed quick-fix changes the code to: