LUA_OK

Thread status

Values

ValueMeaning
LUA_OK0

no errors

LUA_YIELD1

yield thread status

LUA_ERRRUN2

runtime error

LUA_ERRSYNTAX3

syntax error during precompilation

LUA_ERRMEM4

memory allocation (out-of-memory) error

LUA_ERRERR5

error while running the message handler.

Meta