pcall 和xpcall、debug. Lua 语言中可以使用pcall(protected call) 函数来包装需要执行的代码. pcall(protected call) 函数想当于其它语言中的 try...catch 模块 ...
確定! 回上一頁