AXEvent
ax_event_error.h File Reference

Describes the errors reported by the axevent library. More...

Go to the source code of this file.

Macros

#define AX_EVENT_ERROR
 A convenience macro for generating new GErrors.
 

Enumerations

enum  AXEventErrorCode {
  AX_EVENT_ERROR_GENERIC, AX_EVENT_ERROR_INVALID_ARGUMENT, AX_EVENT_ERROR_INCOMPATIBLE_VALUE, AX_EVENT_ERROR_DECLARATION,
  AX_EVENT_ERROR_UNDECLARE, AX_EVENT_ERROR_SEND, AX_EVENT_ERROR_SUBSCRIPTION, AX_EVENT_ERROR_UNSUBSCRIBE,
  AX_EVENT_ERROR_KEY_NOT_FOUND, AX_EVENT_ERROR_END
}
 

Functions

GQuark ax_event_error_quark (void)
 Generates a GQuark for axevent errors. More...
 

Detailed Description

Describes the errors reported by the axevent library.

Enumeration Type Documentation

◆ AXEventErrorCode

enumerates the different errors that cab be are reported by the axevent library.

Enumerator
AX_EVENT_ERROR_GENERIC 

An error occurred that does not fit into any other category.

AX_EVENT_ERROR_INVALID_ARGUMENT 

An invalid argument was supplied.

AX_EVENT_ERROR_INCOMPATIBLE_VALUE 

The type of the supplied value does not match the type expected.

AX_EVENT_ERROR_DECLARATION 

An error occurred while declaring a new event.

AX_EVENT_ERROR_UNDECLARE 

An error occurred while an event was undeclared.

AX_EVENT_ERROR_SEND 

An error occurred while sending an event.

AX_EVENT_ERROR_SUBSCRIPTION 

An error occurred while subscribing to an event.

AX_EVENT_ERROR_UNSUBSCRIBE 

An error occurred while unsubscribing to an event.

AX_EVENT_ERROR_KEY_NOT_FOUND 

The requested key was not found in the set.

AX_EVENT_ERROR_END 

Placeholder, do not use.

Function Documentation

◆ ax_event_error_quark()

GQuark ax_event_error_quark ( void  )

Generates a GQuark for axevent errors.

Returns
a GQuark identifying an axevent error.