Handle LuaErrors in Lua -> C++ calls on LuaJIT