0

Can you raise an error that you yourself define?

19th Dec 2016, 12:17 PM
Kaden
2 Answers
+ 2
not sure how to do it in phyton, but in C#and Java you can define your on exceptions. Im su re you can do your own exeption in phyton, maybe making a class than extends from Exception class.
19th Dec 2016, 12:43 PM
Nahuel
Nahuel - avatar
+ 1
ya u can do it in oython as well. it can be done in c++ and java as well
19th Dec 2016, 12:49 PM
manish rawat
manish rawat - avatar