The ProcessError represents an error that occurred during the post processing of a downloaded file. More...
#include <error.h>
Public Member Functions | |
| virtual | ~ProcessError () |
| QProcess::ProcessError | code () |
| QString | phrase () |
| int | exitCode () |
| QString | standardOut () |
| QString | standardError () |
| QString | errorString () override |
| Public Member Functions inherited from Lomiri::DownloadManager::Error | |
| virtual | ~Error () |
| Type | type () |
Protected Member Functions | |
| ProcessError (Transfers::Errors::ProcessErrorStruct err, QObject *parent) | |
| Protected Member Functions inherited from Lomiri::DownloadManager::Error | |
| Error (Type type, QObject *parent=0) | |
Additional Inherited Members | |
| Public Types inherited from Lomiri::DownloadManager::Error | |
| enum | Type { Auth , DBus , Http , Network , Process , Hash } |
The ProcessError represents an error that occurred during the post processing of a downloaded file.
|
virtual |
|
protected |
Creates a new error from the provided process error struct.
Definition at line 403 of file error.cpp.
References Lomiri::DownloadManager::Error::Error(), and Lomiri::DownloadManager::Error::Process.
Referenced by code(), errorString(), exitCode(), phrase(), standardError(), and standardOut().
| QProcess::ProcessError Lomiri::DownloadManager::ProcessError::code | ( | ) |
/fn QProcess::ProcessError code()
Returns the code of the process error.
Definition at line 420 of file error.cpp.
References ProcessError().
|
overridevirtual |
/fn QString errorString() override
Returns a string representation of the error.
Reimplemented from Lomiri::DownloadManager::Error.
Definition at line 444 of file error.cpp.
References ProcessError().
| int Lomiri::DownloadManager::ProcessError::exitCode | ( | ) |
/fn int exitCode()
Returns the exit code of the executed process.
Definition at line 426 of file error.cpp.
References ProcessError().
| QString Lomiri::DownloadManager::ProcessError::phrase | ( | ) |
/fn QString phrase()
Returns a human readable explanation of the occurred process error.
Definition at line 414 of file error.cpp.
References ProcessError().
| QString Lomiri::DownloadManager::ProcessError::standardError | ( | ) |
/fn QString standardError()
Returns the standard error of the executed process.
Definition at line 438 of file error.cpp.
References ProcessError().
| QString Lomiri::DownloadManager::ProcessError::standardOut | ( | ) |
/fn QString standardOut()
Returns the standard output of the executed process.
Definition at line 432 of file error.cpp.
References ProcessError().