Exceptions do not inherit from standard 'Exception' class

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: