31 class AuthErrorStruct;
32 class HttpErrorStruct;
33 class NetworkErrorStruct;
34 class ProcessErrorStruct;
35 class HashErrorStruct;
40 namespace DownloadManager {
57 Q_DECLARE_PRIVATE(
Error)
109 class DBusErrorPrivate;
121 friend class ManagerImpl;
122 friend class DownloadImpl;
123 friend class DownloadManagerPCW;
124 friend class DownloadsListManagerPCW;
125 friend class MetadataDownloadsListManagerPCW;
126 friend class DownloadPCW;
127 friend class GroupManagerPCW;
153 QString errorString()
override;
169 DBusErrorPrivate* d_ptr;
172 class AuthErrorPrivate;
189 friend class DownloadImpl;
240 AuthErrorPrivate* d_ptr;
243 class HttpErrorPrivate;
258 friend class DownloadImpl;
300 HttpErrorPrivate* d_ptr;
303 class NetworkErrorPrivate;
315 friend class DownloadImpl;
390 NetworkErrorPrivate* d_ptr;
393 class ProcessErrorPrivate;
405 friend class DownloadImpl;
419 QProcess::ProcessError
code();
469 ProcessErrorPrivate* d_ptr;
472 class HashErrorPrivate;
484 friend class DownloadImpl;
535 HashErrorPrivate* d_ptr;
The Error class is the base class that represents an error in the download manager API...
QString errorString() override
QString errorString() override
QString errorString() override
QProcess::ProcessError code()
ProcessError(Transfers::Errors::ProcessErrorStruct err, QObject *parent)
NetworkError(Transfers::Errors::NetworkErrorStruct err, QObject *parent)
The HashError represents an error that occurred during the hash validation after the download...
HashError(Transfers::Errors::HashErrorStruct err, QObject *parent)
DBusError(QDBusError err, QObject *parent=0)
HttpError(Transfers::Errors::HttpErrorStruct err, QObject *parent)
AuthError(Transfers::Errors::AuthErrorStruct err, QObject *parent)
Error(Type type, QObject *parent=0)
The NetworkError represents an error that occurred during the download request.
virtual QString errorString()
The HttpError represents an error that occurred during the download request.
QString errorString() override
The ProcessError represents an error that occurred during the post processing of a downloaded file...
QString errorString() override
The AuthError represents an authentication error that occurred during the request of the download...