技术标签: lua. function main() --抛出异常 throw({retcode = "E001",retmsg = "出错了!!!",}) end --捕获异常 local ok, result = pcall(main) if not ok then ...
確定! 回上一頁