Anonymous user
Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Exceptions/Catch an exception thrown in a nested call (view source)
Revision as of 21:23, 22 May 2011
, 13 years ago→{{header|Lua}}
Line 893:
function foo()
function callbar()
local no_err,result = pcall(bar)
--pcall is a protected call which catches errors.
|