AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
## getLastError ##### Description The last error message (if any) returned from a SCRIPT call 取得最后的错误消息。 ##### Parameters *none* ##### Return Value A string with the last returned script based error message, or NULL if there is no error ##### Examples ``` <pre class="calibre16">$redis->eval('this-is-not-lua'); $err = $redis->getLastError(); // "ERR Error compiling script (new function): user_script:1: '=' expected near '-'" ``` ##