local status, err = pcall(function () a = 'a'+1 end) print(err) --> stdin:1: attempt to perform arithmetic ... To do that, Lua provides the xpcall function.
確定! 回上一頁