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

Konstantin Osipov kostja at tarantool.org
Wed Jul 31 18:39:08 MSK 2019


* Alexander Turenko <alexander.turenko at tarantool.org> [19/07/31 18:37]:
> > +/**
> > + * 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)?

Ugh. What is conventional? Conventions change.

-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list