AppleScript Exception Handling
Digital Storage Manager and Virtual Ticket AppleScript commands use exception handling as the primary method of sending runtime errors. Below is an example of how these exceptions may be handled.
Example: Displays an error when an exception is caught.
tell application "Virtual Ticket 8.0"
Update Object Record of type "Customers" with¬
id "NoSuchCustomer" with fields {name:"Zero"}