W0702
Message
++ Message:
No exception type(s) specified
++ Description:
Used when an except clause doesn’t specify exceptions type to catch.
++ Explanation:
Catching exceptions should be as precise as possible. The type of exceptions that can be raised should be known in advance. Using a catch-all Exception instance defeats the purpose of knowing the type of error that occured, and prohibits the use of tailored responses.
Used when an except clause doesn’t specify exceptions type to catch.