The HttpError represents an error that occurred during the download request. More...
#include <error.h>
Inheritance diagram for Ubuntu::DownloadManager::HttpError:
Collaboration diagram for Ubuntu::DownloadManager::HttpError:Public Member Functions | |
| virtual | ~HttpError () |
| int | code () |
| QString | phrase () |
| QString | errorString () override |
Public Member Functions inherited from Ubuntu::DownloadManager::Error | |
| virtual | ~Error () |
| Type | type () |
Protected Member Functions | |
| HttpError (Transfers::Errors::HttpErrorStruct err, QObject *parent) | |
Protected Member Functions inherited from Ubuntu::DownloadManager::Error | |
| Error (Type type, QObject *parent=0) | |
Additional Inherited Members | |
Public Types inherited from Ubuntu::DownloadManager::Error | |
| enum | Type { Auth, DBus, Http, Network, Process, Hash } |
The HttpError represents an error that occurred during the download request.
The HttpError represents an error that occurred during the download request and that is related to one of the known http 1.1 error codes.
|
virtual |
|
protected |
| int Ubuntu::DownloadManager::HttpError::code | ( | ) |
|
overridevirtual |
/fn QString errorString() override
Returns a string representation of the error.
Reimplemented from Ubuntu::DownloadManager::Error.
| QString Ubuntu::DownloadManager::HttpError::phrase | ( | ) |