The Error class is the base class that represents an error in the download manager API. More...
#include <error.h>
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 Lomiri::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 Lomiri::DownloadManager::AuthError, Lomiri::DownloadManager::HttpError, Lomiri::DownloadManager::NetworkError, Lomiri::DownloadManager::ProcessError, and Lomiri::DownloadManager::HashError.
Error::Type Lomiri::DownloadManager::Error::type | ( | ) |