[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: state of the Lua nation on resource cleanup
- From: Sam Roberts <vieuxtech@...>
- Date: Tue, 20 Jan 2009 16:07:10 -0800
On Tue, Jan 20, 2009 at 3:52 PM, Petite Abeille <petite_abeille@mac.com> wrote:
> On Jan 21, 2009, at 12:46 AM, Sam Roberts wrote:
>> Lack of non-string errors is one.
> What about... error( { type = 'MyVeryFancyErrorClassType' } )?
That would be sweet.
> One can pass
> anything to error, no?
No.
% lua
Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
> error({type="This"})
(error object is not a string)
Sam
--
Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile.