Added error-handling sample to Lua API.