Reputation: 41078
How can I have a clean list of exceptions that a standard function/method can raise ? Without that, how can I anticipate the behavior of a function ?
Thanks.
Upvotes: 1
Views: 126
Reputation: 44593
There is no way to get a full list of exception a function can raise. You can look in the documentation, some functions list the exceptions they raise.
Upvotes: 3