[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Noob question -- On error, exit function and terminate script
- From: Gavin Wraith <gavin@...>
- Date: Sat, 25 Jun 2011 15:38:33 +0100
In message <BANLkTi=ym9Lwk4bQ-tZxFfMSE6pO570muQ@mail.gmail.com> you wrote:
> > I've spent a couple of hours now looking for the answer without
> > success. Is there a simple method to terminate a script upon an error
> > condition that occurs within a function,
Diego Nehab's
http://lua-users.org/wiki/FinalizedExceptions
might be relevant.
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/