RosettaCodeData/Task/Exceptions/AppleScript/exceptions-1.applescript

5 lines
78 B
AppleScript

try
set num to 1 / 0
--do something that might throw an error
end try