EggDBus Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Synopsis
#define TEST_ERROR GQuark test_error_quark (void); GType test_error_get_type (void); #define TEST_TYPE_ERROR enum TestError;
Details
TEST_ERROR
#define TEST_ERROR test_error_quark()
Error domain for com.example.Error.*
D-Bus errors.
Errors in this domain will be from the TestError
enumeration. See GError for information on error domains
enum TestError
typedef enum { TEST_ERROR_FAILED = 0, /*< nick=com.example.Error.Failed >*/ TEST_ERROR_FLUX_CAPACITOR_FAILURE = 1, /*< nick=com.example.Error.FluxCapacitorFailure >*/ TEST_ERROR_WOULD_DESTRUCT = 100, /*< nick=com.example.Error.WouldDestruct >*/ TEST_ERROR_WOULD_BLOCK = 101, /*< nick=com.example.Error.WouldBlock >*/ } TestError;
An example of an error enumeration.