If you are facing any issue in playing video please use Firefox browser.
How To Implement User Defined Exception in Python
In this lecture we will see,
How to implement user defined exception in Python ?
User defined Exception
Python also allows you to create your own exceptions by deriving classes from the standard built-in exceptions.
raise MyNewError("Something happened in my program")
raise MyException ("Something went wrong")
MyException: Something went wrong
Have a friend to whom you would want to share this course?