Skip to content

fix(hlua): support non string errors (must be convertible to string)

Alexey Protsenko requested to merge fix/non-string-lua-error into master

Closes #54 (closed)

When executing a lua function in case it fails the error is popped from the stack. If the error message is not a string, it will be converted to one (using the builtin conversions or the __tostring metamethod).

Edited by Alexey Protsenko

Merge request reports