function traceback(err)
print("LUA ERROR: " .. tostring(err))
print(debug.traceback())
end
local function main()
self:hello() --function is null
print("hello")
end
local status = xpcall(main, traceback)
print("status: ", status)
print("-------------")
function testFunc(num,num2,num3)
print(num,num2,num3)
self:print()
end
if pcall(testFunc,2,3,4) then
print( "true")
else
print(false)
end