The HashError represents an error that occurred during the hash validation after the download. More...
#include <error.h>
Public Member Functions | |
virtual | ~HashError () |
QString | method () |
QString | expected () |
QString | checksum () |
QString | errorString () override |
![]() | |
virtual | ~Error () |
Type | type () |
Protected Member Functions | |
HashError (Transfers::Errors::HashErrorStruct err, QObject *parent) | |
![]() | |
Error (Type type, QObject *parent=0) | |
Additional Inherited Members | |
![]() | |
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 Lomiri::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 Lomiri::DownloadManager::Error.
QString Lomiri::DownloadManager::HashError::expected | ( | ) |
/fn QString expected()
Returns the checksum that passed to the download manager to check against once the download was completed.
QString Lomiri::DownloadManager::HashError::method | ( | ) |