Re: Throwing Errors in Functions?
Re: Throwing Errors in Functions?
- Subject: Re: Throwing Errors in Functions?
- From: Shane Stanley <email@hidden>
- Date: Wed, 11 Mar 2015 15:36:21 +1100
On 11 Mar 2015, at 3:27 pm, Alex Hall <email@hidden> wrote:
>
> On a related note, how would I force the script to stop executing if a function errors out?
If the function throws an untrapped error it will be returned to the calling script, so you need to trap it there.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden