lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 30/05/16 06:15 PM, Jonne Ransijn wrote:

It should error upstream:

try(=> try(=> error "..."):catch(=> error "CATCH THIS!"))
:catch(=> print "Gotcha!")

With
=> expr
as
function()
    return expr
end

Uh, right, I meant error() in catch() with finally().

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.