Inspectopedia 2026.3 Help

Exceptions

Exceptions do not inherit from standard 'Exception' class  

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

Overly broad 'except' clause  

Reports exception clauses that do not provide specific information about the problem.

Wrong order of 'except' clauses  

Reports cases when except clauses are not in the proper order, from the more specific to the more generic, or one exception class is caught twice.

Last modified: 20 November 2026