问题标签 [luasql]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
41 问题
0
投票
1
回答
38
浏览
lua - 将 LuaSQL 错误捕获到 xpcall 错误处理函数
如何xpcall error
像 assert 一样从 LuaSQL 驱动程序获取错误输出作为函数的参数?
例如,通过运行以下代码:
我收到以下错误:
但是当我运行以下代码时:
我在日志文件中得到的错误是:attempt to call a nil value - error