In my Google Apps Script, when I catch an error, I email a log of the error then I want to exit the script immediately.
I cannot find a command to immediately terminate the script (the equivalent of PHP's exit(). Please can someone tell me how to do this?
Thanks in advance Alec