Here's an example of its use: function A() print(1 + nil) end print(xpcall(A, debug.traceback)) This outputs the following: false err.lua:2: attempt to ...
確定! 回上一頁