FlightGear next
flightgear::swift::CDBusError Class Reference

DBus error. More...

#include <dbuserror.h>

Public Types

enum  ErrorType { NoError , Other }
 Error type. More...
 

Public Member Functions

 CDBusError ()=default
 Default constructor.
 
 CDBusError (const DBusError *error)
 Constructor.
 
ErrorType getType () const
 Get error type.
 

Detailed Description

DBus error.

Definition at line 15 of file dbuserror.h.

Member Enumeration Documentation

◆ ErrorType

Error type.

Enumerator
NoError 
Other 

Definition at line 19 of file dbuserror.h.

Constructor & Destructor Documentation

◆ CDBusError() [1/2]

flightgear::swift::CDBusError::CDBusError ( )
default

Default constructor.

◆ CDBusError() [2/2]

flightgear::swift::CDBusError::CDBusError ( const DBusError * error)
explicit

Constructor.

Definition at line 11 of file dbuserror.cpp.

Member Function Documentation

◆ getType()

ErrorType flightgear::swift::CDBusError::getType ( ) const
inline

Get error type.

Definition at line 31 of file dbuserror.h.


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