how to create user defined or custom exception in python
Answers
Answered by
2
Hey mate ,
In Python, users can define custom exceptions by creating a new class. This exception class has to be derived, either directly or indirectly, from the built-in Exception class.
Hope it helps.
Answered by
7
In Python, users can define custom exceptions by creating a new class. This exception class has to be derived, either directly or indirectly, from the built-in Exception class....
(*_*)........ thank you...plz follow me....
Similar questions