When u say that all exceptions must derive from base excetptions is it because both the raised exception and the one above have same name? what if the name is differrent
Should all exceptins derive from base class
Hey @surbhi11, no no there is nothing to do with the name. This is a rule that all exceptions in python must derive from the BaseException Class. I would recommend you to go through this blog to understand the concept in the best way.
I hope this helps !
Happy Learning !
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.