21 #ifndef __EDELIB_EDBUSERROR_H__
22 #define __EDELIB_EDBUSERROR_H__
24 #include "edelib-global.h"
62 struct EdbusErrorImpl;
@ EDBUS_ERROR_INVALID_SIGNATURE
invalid signature for message
Definition: EdbusError.h:57
@ EDBUS_ERROR_INVALID_ARGS
invalid arguments for method call
Definition: EdbusError.h:52
@ EDBUS_ERROR_FILE_NOT_FOUND
a file needed for operation not present
Definition: EdbusError.h:53
@ EDBUS_ERROR_NO_NETWORK
transport channel network not available
Definition: EdbusError.h:50
const char * name(void) const
@ EDBUS_ERROR_NAME_HAS_NO_OWNER
a non-unique name used in message is not known
Definition: EdbusError.h:40
@ EDBUS_ERROR_TIMED_OUT
an operation timed out
Definition: EdbusError.h:56
EdbusErrorType
EdbusError error type.
Definition: EdbusError.h:35
EdbusError(const EdbusError &other)
@ EDBUS_ERROR_NO_MEMORY
out of memory
Definition: EdbusError.h:38
@ EDBUS_ERROR_FAILED
generic failure
Definition: EdbusError.h:37
@ EDBUS_ERROR_NO_REPLY
expected reply not received
Definition: EdbusError.h:41
bool valid(void) const
Definition: EdbusError.h:123
EdbusError(EdbusErrorType t, const char *msg)
EdbusError & operator=(const EdbusError &other)
@ EDBUS_ERROR_FILE_EXISTS
file exists, but operation does not allow overwriting
Definition: EdbusError.h:54
@ EDBUS_ERROR_USER_DEFINED
user defined error
Definition: EdbusError.h:58
@ EDBUS_ERROR_LIMITS_EXCEEDED
resource reached it's limit
Definition: EdbusError.h:45
@ EDBUS_ERROR_ACCESS_DENIED
not enough permissions to execute or access operation
Definition: EdbusError.h:46
@ EDBUS_ERROR_NOT_SUPPORTED
requested operation not supported
Definition: EdbusError.h:44
A class representing D-Bus error.
Definition: EdbusError.h:70
const char * message(void) const
EdbusErrorType type(void) const
@ EDBUS_ERROR_NO_SERVER
unable to connect to the D-Bus server
Definition: EdbusError.h:48
EdbusError(const DBusError *err)
@ EDBUS_ERROR_UNKNOWN_METHOD
unknown method
Definition: EdbusError.h:55
@ EDBUS_ERROR_AUTH_FAILED
authentication failed
Definition: EdbusError.h:47
@ EDBUS_ERROR_TIMEOUT
an timeout occured during operation
Definition: EdbusError.h:49
@ EDBUS_ERROR_IO_ERROR
IO error during operation.
Definition: EdbusError.h:42
@ EDBUS_ERROR_INVALID
empty error
Definition: EdbusError.h:36
@ EDBUS_ERROR_BAD_ADDRESS
malformed address to be connected to
Definition: EdbusError.h:43
@ EDBUS_ERROR_DISCONNECTED
trying to perform operation on unconnected connection
Definition: EdbusError.h:51
@ EDBUS_ERROR_SERVICE_UNKNOWN
address service is neither connected nor can be activated
Definition: EdbusError.h:39