📅  最后修改于: 2022-03-11 14:59:51.340000             🧑  作者: Mango
代码示例2
if pcall(foo) then
-- no errors while running `foo'
...
else
-- `foo' raised an error: take appropriate actions
...
end