Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
Maybe you should use a "try and catch" statement. But I can't say how you can declare the try to say "compile error" if it is compile time or "run error" for run time... But I think its possible with a try statement
26th Mar 2017, 11:17 PM
Official Hamzat
Official Hamzat - avatar