diff options
author | Michael Martin <3277009+flrgh@users.noreply.github.com> | 2022-01-19 20:57:12 -0800 |
---|---|---|
committer | Michael Martin <3277009+flrgh@users.noreply.github.com> | 2022-01-19 20:57:12 -0800 |
commit | 5f6a00c52398eb3fe11a547456ed5c9be9cc9569 (patch) | |
tree | a5523ff691c09d7b5992fdda9a49f34a84cc0c50 | |
parent | 5071963c64b20446540cfacf649846f6e1f5dc36 (diff) | |
download | lua-language-server-5f6a00c52398eb3fe11a547456ed5c9be9cc9569.zip |
add a couple more documented error strings
-rw-r--r-- | meta/3rd/OpenResty/library/ngx.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua index eacf1a66..f8f5eabf 100644 --- a/meta/3rd/OpenResty/library/ngx.lua +++ b/meta/3rd/OpenResty/library/ngx.lua @@ -3510,7 +3510,7 @@ function ngx.redirect(uri, status) end --- ---@param callback fun() ---@return boolean ok ----@return string? error +---@return string|'"lua_check_client_abort is off"'|'"duplicate call"' error function ngx.on_abort(callback) end @@ -4214,7 +4214,7 @@ ngx.resp = {} ---@param max_headers number ---@param raw boolean ---@return table<string, string|string[]> ----@return string? error +---@return string|'"truncated"' error function ngx.resp.get_headers(max_headers, raw) end |