E0701 bad-except-order

Message

'Bad except clauses order (%s)'

Description

Used when except clauses are not in the correct order (from the more specific to the more generic). If you don’t fix the order, some exceptions may not be caught by the most specific handler.