summaryrefslogtreecommitdiff
path: root/script/await.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/await.lua')
-rw-r--r--script/await.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/await.lua b/script/await.lua
index a887664a..cea5667b 100644
--- a/script/await.lua
+++ b/script/await.lua
@@ -25,7 +25,7 @@ local function setID(id, co, callback)
end
--- 设置错误处理器
----@param errHandle function {comment = '当有错误发生时,会以错误堆栈为参数调用该函数'}
+---@param errHandle function # 当有错误发生时,会以错误堆栈为参数调用该函数
function m.setErrorHandle(errHandle)
m.errorHandle = errHandle
end