Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::ProcessBiderError Class Referencefinal

The ProcessBiderError class describes errors than can occur during process biding.

#include <qx/core/qx-processbider.h>

Collaboration diagram for Qx::ProcessBiderError:
[legend]

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
 

Member Enumeration Documentation

◆ Type

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.

See also
type().

Member Function Documentation

◆ isValid()

bool Qx::ProcessBiderError::isValid ( ) const

Returns true if the error is valid; otherwise, returns false.

◆ processName()

QString Qx::ProcessBiderError::processName ( ) const

Returns the name of the process the bide was for.

◆ type()

ProcessBiderError::Type Qx::ProcessBiderError::type ( ) const

Returns the type of error.


The documentation for this class was generated from the following files: