dbus-cxx
DBus::ErrorInteractiveAuthorizationRequired Class Reference

This error is caused attempting to call a D-Bus method which expects ALLOW_INTERACTIVE_AUTHORIZATION to be set when it isn't. More...

#include <error.h>

Inheritance diagram for DBus::ErrorInteractiveAuthorizationRequired:

Public Member Functions

 ErrorInteractiveAuthorizationRequired (const char *message=nullptr)
 
 ErrorInteractiveAuthorizationRequired (std::string message)
 
- Public Member Functions inherited from DBus::Error
 Error ()
 
 Error (const char *name, const char *message=nullptr)
 
 Error (const char *name, std::string message)
 
 Error (std::string name, std::string message)
 
 ~Error () noexcept
 
const char * what () const noexcept
 
std::string name () const
 
std::string message () const
 

Additional Inherited Members

- Protected Attributes inherited from DBus::Error
std::string m_name
 
std::string m_message
 

Detailed Description

This error is caused attempting to call a D-Bus method which expects ALLOW_INTERACTIVE_AUTHORIZATION to be set when it isn't.

See https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages.

This flag can be enabled with DBus::MethodProxyBase::enable_interactive_authorization().

Constructor & Destructor Documentation

◆ ErrorInteractiveAuthorizationRequired() [1/2]

DBus::ErrorInteractiveAuthorizationRequired::ErrorInteractiveAuthorizationRequired ( const char *  message = nullptr)
inline

◆ ErrorInteractiveAuthorizationRequired() [2/2]

DBus::ErrorInteractiveAuthorizationRequired::ErrorInteractiveAuthorizationRequired ( std::string  message)
inline

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