++ 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.



Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License