|
Qx v0.7
Qt Extensions Library
|
The ProcessBiderError class describes errors than can occur during process biding.
#include <qx/core/qx-processbider.h>
Public Types | |
| enum | Type { NoError , FailedToHook , FailedToClose } |
Public Member Functions | |
| bool | isValid () const |
| QString | processName () const |
| Type | type () const |
Public Member Functions inherited from Qx::AbstractError<"Qx::ProcessBiderError", 6 > | |
| operator bool () const | |
| bool | operator!= (const AbstractError &other) const=default |
| bool | operator== (const AbstractError &other) const=default |
Friends | |
| class | ProcessBider |
Additional Inherited Members | |
Static Public Attributes inherited from Qx::AbstractError<"Qx::ProcessBiderError", 6 > | |
| static constexpr quint16 | TYPE_CODE |
| static constexpr QLatin1StringView | TYPE_NAME |
Protected Member Functions inherited from Qx::IError | |
| IError ()=default | |
| virtual QString | deriveCaption () const |
| virtual QString | deriveDetails () const |
| virtual Severity | deriveSeverity () const |
| bool | operator!= (const IError &other) const =default |
| bool | operator== (const IError &other) const =default |
This enum describes the type of error.
| Enumerator | |
|---|---|
| FailedToHook | The bider was unable to hook the process for waiting, potentially due to a permissions issue. |
| FailedToClose | The bider was unable to close the process, likely due to a permissions issue.
|
| bool Qx::ProcessBiderError::isValid | ( | ) | const |
Returns true if the error is valid; otherwise, returns false.
| QString Qx::ProcessBiderError::processName | ( | ) | const |
Returns the name of the process the bide was for.
| ProcessBiderError::Type Qx::ProcessBiderError::type | ( | ) | const |
Returns the type of error.