Read-only property qt.qEngine.lastErrorMessage contains the last error message generated by the Lua interpreter.