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

Improve the error reporting of QFuture

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • 6.0
    • None
    • Core: Threads
    • None
    • All
    • 21
    • Qt6_Foundation_ Sprint 5, Qt6_Foundation_ Sprint 6

    Description

      It isn't possible to get information about an exception without re-throwing it. Provide a way of accessing the information about exception without forcing the users to retrieve the result(s) or blocking with waitForFinished().

      We can consider adding bool hasException() / QException *exception() methods as suggested here.

       
       

      Attachments

        Issue Links

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

          Activity

            People

              sonakur Sona Kurazyan
              sonakur Sona Kurazyan
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes