LuaState.traceback

Attempts to call debug.traceback. A string is expected to be on top of the stack, otherwise the function will abort the attempt.

Otherwise, the string on top of the stack is consumed and a new string will be pushed containing the traceback (if possible).

Args: level = Same as the level parameter for debug.traceback. Essentially, how many functions to not include in the traceback

struct LuaState
void
traceback
(
int level = 2
)

Meta