[tarantool-patches] Re: [PATCH v2 1/2] lua: new function luaT_return_error()

Alexander Turenko alexander.turenko at tarantool.org
Wed Jul 31 18:23:28 MSK 2019


> +/**
> + * Return nil as the first return value and an error as the
> + * second. The error is received using box_error_last().
> + *
> + * @param L Lua stack.
> + */
> +LUA_API int
> +luaT_return_error(lua_State *L);

Maybe let the name be a bit more explicit, say,
luaT_push_conventional_error(struct lua_State *L)?




More information about the Tarantool-patches mailing list