Error Reporting

Error Reporting — Xfconf library and daemon error descriptions

Synopsis

#define             XFCONF_ERROR
enum                XfconfError;

Description

Both the Xfconf daemon and library provide error information via the use of GErrors.

Details

XFCONF_ERROR

#define             XFCONF_ERROR

The GError error domain for Xfconf.


enum XfconfError

typedef enum {
    XFCONF_ERROR_UNKNOWN = 0,
    XFCONF_ERROR_CHANNEL_NOT_FOUND,
    XFCONF_ERROR_PROPERTY_NOT_FOUND,
    XFCONF_ERROR_READ_FAILURE,
    XFCONF_ERROR_WRITE_FAILURE,
    XFCONF_ERROR_PERMISSION_DENIED,
    XFCONF_ERROR_INTERNAL_ERROR,
    XFCONF_ERROR_NO_BACKEND,
    XFCONF_ERROR_INVALID_PROPERTY,
    XFCONF_ERROR_INVALID_CHANNEL,
} XfconfError;

An enumeration listing the different kinds of errors under the XFCONF_ERROR domain.

XFCONF_ERROR_UNKNOWN

An unknown error occurred

XFCONF_ERROR_CHANNEL_NOT_FOUND

The specified channel does not exist

XFCONF_ERROR_PROPERTY_NOT_FOUND

The specified property does not exist on the channel

XFCONF_ERROR_READ_FAILURE

There was a failure reading from the configuration store

XFCONF_ERROR_WRITE_FAILURE

There was a failure writing to the configuration store

XFCONF_ERROR_PERMISSION_DENIED

The user is not allowed to read or write to the channel or property

XFCONF_ERROR_INTERNAL_ERROR

An internal error (likely a bug in xfconf) occurred

XFCONF_ERROR_NO_BACKEND

No backends were found, or those found could not be loaded

XFCONF_ERROR_INVALID_PROPERTY

The property name specified was invalid

XFCONF_ERROR_INVALID_CHANNEL

The channel name specified was invalid