How do catch/throw modules work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do catch/throw modules work?

I 've seen them in theory but never used them How do they work?

16th Dec 2016, 10:52 AM
Ioanna Zapalidi
1 Answer
+ 1
in which language? and the best way to is to try them out in a simple application. a good example of this is to try/catch a division by 0 and throw an error message that it is not possible to divide by 0. :)
18th Dec 2016, 1:56 AM
Frédéric Charette
Frédéric Charette - avatar