Throw errors as exceptions in multi-threaded auto test


In tst_QHttpServerMultithreaded make QVERIFY and similar throw
an exception when an error occurs. This makes it possible for
LocalHttpClient to fail the tests instead of returning error
messages as strings.

Task-number: QTBUG-138410
Pick-to: 6.10 6.8
Change-Id: I81a6da9ea9de3a1625da18a7169fd4faa0e63395
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
commit0985358b9fdf86f284cc51dc7697086fcd370f51
parent32c2e5c7959a8965afac4fb305b01dc36973fdc0
authorØystein Heskestad <oystein.heskestad@qt.io>
committerØystein Heskestad <oystein.heskestad@qt.io>
commit timeThu, 2 Oct 2025 13:24:06 +0200