Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Stop a script from executing - Try/Catch

$
0
0

This is driving me nuts... I can't figure out how to stop a script from executing when I encounter an error in a Try/Catch block. I've tried using 'break' but all that does is exit out of the code block I'm in and the script continues. I also tried exit but that didn't work. The break and exit were placed in the Catch block. Any ideas?

I've done a ton of Googling with no luck.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>