Making Decisions When Dealing with Errors
Hamish Sanderson, Hanaan Rosenthal · Apress eBooks · 2010
Errors in AppleScript fall into one of the following categories: bugs that prevent scripts from compiling, bugs that cause scripts to work incorrectly when run—either failing completely or doing something other than what you wanted—and errors caused by external factors beyond your script’s control. Some of these errors may occur when the script is being compiled, others when it is run.