Skip to content

Commit 5f6a00c

Browse files
committed
add a couple more documented error strings
1 parent 5071963 commit 5f6a00c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meta/3rd/OpenResty/library/ngx.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3510,7 +3510,7 @@ function ngx.redirect(uri, status) end
35103510
---
35113511
---@param callback fun()
35123512
---@return boolean ok
3513-
---@return string? error
3513+
---@return string|'"lua_check_client_abort is off"'|'"duplicate call"' error
35143514
function ngx.on_abort(callback) end
35153515

35163516

@@ -4214,7 +4214,7 @@ ngx.resp = {}
42144214
---@param max_headers number
42154215
---@param raw boolean
42164216
---@return table<string, string|string[]>
4217-
---@return string? error
4217+
---@return string|'"truncated"' error
42184218
function ngx.resp.get_headers(max_headers, raw) end
42194219

42204220

0 commit comments

Comments
 (0)