The HashError represents an error that occurred during the hash validation after the download. More...
#include <error.h>
Inheritance diagram for Ubuntu::DownloadManager::HashError:
Collaboration diagram for Ubuntu::DownloadManager::HashError:Public Member Functions | |
| virtual | ~HashError () |
| QString | method () |
| QString | expected () |
| QString | checksum () |
| QString | errorString () override |
Public Member Functions inherited from Ubuntu::DownloadManager::Error | |
| virtual | ~Error () |
| Type | type () |
Protected Member Functions | |
| HashError (Transfers::Errors::HashErrorStruct 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 HashError represents an error that occurred during the hash validation after the download.
|
virtual |
|
protected |
| QString Ubuntu::DownloadManager::HashError::checksum | ( | ) |
/fn QString checksum()
Returns the checksum of the download on disk after the download was completed.
|
overridevirtual |
/fn QString errorString() override
Returns a string representation of the error.
Reimplemented from Ubuntu::DownloadManager::Error.
| QString Ubuntu::DownloadManager::HashError::expected | ( | ) |
/fn QString expected()
Returns the checksum that passed to the download manager to check against once the download was completed.
| QString Ubuntu::DownloadManager::HashError::method | ( | ) |