MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / handleError

Method handleError

testhelper/syncthingtestinstance.cpp:169–173  ·  view source on GitHub ↗

! * \brief Throws an exception to abort testing when the process cannot be started. */

Source from the content-addressed store, hash-verified

167 * \brief Throws an exception to abort testing when the process cannot be started.
168 */
169void SyncthingTestInstance::handleError(QProcess::ProcessError error)
170{
171 Q_UNUSED(error)
172 throw std::runtime_error(argsToString("Unable to start Syncthing ("sv, m_syncthingProcess.errorString().toStdString(), ')'));
173}
174
175/*!
176 * \brief Throws an exception to abort testing when the process exists unexpectedly.

Callers

nothing calls this directly

Calls 1

errorStringMethod · 0.80

Tested by

no test coverage detected