Hi,
I need an equivalent function in QJSEngine for the following code in QScriptEngine:-
Qt Code:
return context->throwError( QScriptContext::SyntaxError, "Invalid Value");To copy to clipboard, switch view to plain text mode
I could not find any usefule function in QJSEngine docs to throw an error.
Bookmarks