lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Apr 10, 2015 at 10:24 PM, Dibyendu Majumdar
<mobile@majumdar.org.uk> wrote:
> 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
>

Why do that as opposed to lua_error() or luaL_error()?

-- 
Sent from my Game Boy.