1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-17 21:58:06 +00:00

error handling

This commit is contained in:
kepler155c@gmail.com
2018-02-06 08:45:43 -05:00
parent cceb6c8409
commit f16c7b632b
3 changed files with 10 additions and 0 deletions

View File

@@ -13,6 +13,11 @@ Event.addRoutine(function()
if api then
local proxy = _G[api]
if not proxy then
print('proxy: invalid API')
return
end
local methods = { }
for k,v in pairs(proxy) do
if type(v) == 'function' then