Query module IncorrectExceptOrder

name
Unreachable ‘except’ block
description
Handling general exceptions before specific exceptions means that the specific handlers are never executed.
kind
problem
tags
reliability maintainability external/cwe/cwe-561
problem.severity
error
sub-severity
low
precision
very-high
id
py/unreachable-except

Imports

Predicates