if (err != 0)
{
switch (err)
{
case 1 :
throw new LuaException("Runtime error. " + L.toString(-1));
case 2 :
throw new LuaException("File not found. " + L.toString(-1));
case 3 :
throw new LuaException("Syntax error. " + L.toString(-1));
case 4 :
throw new LuaException("Memory error. " + L.toString(-1));
default :
throw new LuaException("Error. " + L.toString(-1));
}
}
configLib = (IConfig) L.getLuaObject("configLib").createProxy("test.node.IConfig");
}