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

Add QScriptEngine::throwError() function

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes