Is it acceptable to call luaG_runerror() in an API function like lua_rawset() or lua_rawseti()? The scenario is that the value or key is invalid (i.e. allowing it would corrupt the type system). Thanks and Regards Dibyendu