31 class AuthErrorStruct;
32 class HttpErrorStruct;
33 class NetworkErrorStruct;
34 class ProcessErrorStruct;
35 class HashErrorStruct;
40namespace DownloadManager {
57 Q_DECLARE_PRIVATE(
Error)
109class 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;
172class AuthErrorPrivate;
189 friend class DownloadImpl;
240 AuthErrorPrivate* d_ptr;
243class HttpErrorPrivate;
258 friend class DownloadImpl;
300 HttpErrorPrivate* d_ptr;
303class NetworkErrorPrivate;
315 friend class DownloadImpl;
390 NetworkErrorPrivate* d_ptr;
393class ProcessErrorPrivate;
405 friend class DownloadImpl;
419 QProcess::ProcessError
code();
469 ProcessErrorPrivate* d_ptr;
472class HashErrorPrivate;
484 friend class DownloadImpl;
535 HashErrorPrivate* d_ptr;
The AuthError represents an authentication error that occurred during the request of the download.
AuthError(Transfers::Errors::AuthErrorStruct err, QObject *parent)
QString errorString() override
DBusError(QDBusError err, QObject *parent=0)
The Error class is the base class that represents an error in the download manager API.
virtual QString errorString()
Error(Type type, QObject *parent=0)
The HashError represents an error that occurred during the hash validation after the download.
QString errorString() override
HashError(Transfers::Errors::HashErrorStruct err, QObject *parent)
The HttpError represents an error that occurred during the download request.
QString errorString() override
HttpError(Transfers::Errors::HttpErrorStruct err, QObject *parent)
The NetworkError represents an error that occurred during the download request.
NetworkError(Transfers::Errors::NetworkErrorStruct err, QObject *parent)
@ ProtocolInvalidOperationError
@ AuthenticationRequiredError
@ ProxyConnectionRefusedError
@ ContentOperationNotPermittedError
@ BackgroundRequestNotAllowedError
@ SslHandshakeFailedError
@ NetworkSessionFailedError
@ ProxyConnectionClosedError
@ ProxyAuthenticationRequiredError
@ TemporaryNetworkFailureError
QString errorString() override
The ProcessError represents an error that occurred during the post processing of a downloaded file.
QString errorString() override
QProcess::ProcessError code()
ProcessError(Transfers::Errors::ProcessErrorStruct err, QObject *parent)