The Error class is the base class that represents an error in the download manager API. More...
#include <error.h>
 Inheritance diagram for Ubuntu::DownloadManager::Error:
 Inheritance diagram for Ubuntu::DownloadManager::Error: Collaboration diagram for Ubuntu::DownloadManager::Error:
 Collaboration diagram for Ubuntu::DownloadManager::Error:| Public Types | |
| enum | Type { Auth, DBus, Http, Network, Process, Hash } | 
| Public Member Functions | |
| virtual | ~Error () | 
| Type | type () | 
| virtual QString | errorString () | 
| Protected Member Functions | |
| Error (Type type, QObject *parent=0) | |
The Error class is the base class that represents an error in the download manager API.
The Error class represents an error in the download manager and can be of a number of types. The API is designed so that the client only needs to listen to a single error signal and that can later downcast the error class to get more detailed information.
| enum void Ubuntu::DownloadManager::Error::Type | 
Enumerator that represents the error type.
Returns the type of the error that was encountered.
| 
 | virtual | 
| 
 | protected | 
| 
 | virtual | 
Returns a string representation of the error.
Reimplemented in Ubuntu::DownloadManager::HashError, Ubuntu::DownloadManager::ProcessError, Ubuntu::DownloadManager::NetworkError, Ubuntu::DownloadManager::HttpError, and Ubuntu::DownloadManager::AuthError.
| Error::Type Ubuntu::DownloadManager::Error::type | ( | ) |