Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18076

Add QScriptEngine::throwError() function

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.3.0
    • Qt Script
    • None

      Currently you need a QScriptContext pointer to throw an error, but you don't always have that (e.g. in reimplementations of QScriptExtensionPlugin::initialize()), so then you need to call engine->currentContext()->throwError().
      It would be convenient if QScriptEngine had a throwError() function also.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kenthans Kent Hansen (Inactive)
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes