xpcall 类似 pcall xpcall接受两个参数:调用函数、错误处理函数. 比如使用debug.traceback 获取栈信息 > status, err, ret = xpcall(square, ...
確定! 回上一頁