mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
add skynet.error
This commit is contained in:
@@ -521,6 +521,14 @@ function skynet.harbor(addr)
|
|||||||
return c.harbor(addr)
|
return c.harbor(addr)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function skynet.error(...)
|
||||||
|
local t = {...}
|
||||||
|
for i=1,#t do
|
||||||
|
t[i] = tostring(t[i])
|
||||||
|
end
|
||||||
|
return c.error(table.concat(t, " "))
|
||||||
|
end
|
||||||
|
|
||||||
----- debug
|
----- debug
|
||||||
|
|
||||||
local internal_info_func
|
local internal_info_func
|
||||||
|
|||||||
Reference in New Issue
Block a user