+ 2

How many built-in Errors in python3 and what are they ?Is there any command to get it all and printed.

22nd Oct 2020, 6:38 AM
Rajan K
Rajan K - avatar
2 odpowiedzi
+ 5
There is a class 'BaseException'. All exceptions are instances of this class. To get the hierarchy of exceptions (errors), check this code... https://code.sololearn.com/cHyOfv7V4Ndg/?ref=app May be there is an easier way, I don't know 🤷‍♂️🙂
22nd Oct 2020, 10:44 AM
Anton Popov
+ 1
Anton Popov Thankyou
23rd Oct 2020, 12:19 PM
Rajan K
Rajan K - avatar