Error codes 3 GUPNP Library Error codes Error domains and codes. Synopsis #define GUPNP_SERVER_ERROR enum GUPnPServerError; #define GUPNP_EVENTING_ERROR enum GUPnPEventingError; #define GUPNP_CONTROL_ERROR enum GUPnPControlError; Description Details GUPNP_SERVER_ERROR GUPNP_SERVER_ERROR#define GUPNP_SERVER_ERROR (gupnp_server_error_quark ()) The GQuark uniquely used by GUPnP's server errors. Returns : a GQuark uniquely used by GUPnP's server errors. enum GUPnPServerError GUPnPServerErrortypedef enum { GUPNP_SERVER_ERROR_INTERNAL_SERVER_ERROR, GUPNP_SERVER_ERROR_NOT_FOUND, GUPNP_SERVER_ERROR_NOT_IMPLEMENTED, GUPNP_SERVER_ERROR_INVALID_RESPONSE, GUPNP_SERVER_ERROR_INVALID_URL, GUPNP_SERVER_ERROR_OTHER } GUPnPServerError; GError codes used for errors in the GUPNP_SERVER_ERROR domain, when there is communication with another server. GUPNP_SERVER_ERROR_INTERNAL_SERVER_ERROR Internal server error. GUPNP_SERVER_ERROR_NOT_FOUND The resource was not found. GUPNP_SERVER_ERROR_NOT_IMPLEMENTED This method is not implemented. GUPNP_SERVER_ERROR_INVALID_RESPONSE Invalid response. GUPNP_SERVER_ERROR_INVALID_URL Invalid URL. GUPNP_SERVER_ERROR_OTHER Unknown/unhandled error. GUPNP_EVENTING_ERROR GUPNP_EVENTING_ERROR#define GUPNP_EVENTING_ERROR (gupnp_eventing_error_quark ()) The GQuark uniquely used by GUPnP's eventing errors. Returns : a GQuark uniquely used by GUPnP's eventing errors. enum GUPnPEventingError GUPnPEventingErrortypedef enum { GUPNP_EVENTING_ERROR_SUBSCRIPTION_FAILED, GUPNP_EVENTING_ERROR_SUBSCRIPTION_LOST, GUPNP_EVENTING_ERROR_NOTIFY_FAILED } GUPnPEventingError; GError codes used for errors in the GUPNP_EVENTING_ERROR domain, during eventing of state variables. GUPNP_EVENTING_ERROR_SUBSCRIPTION_FAILED The subscription attempt failed. GUPNP_EVENTING_ERROR_SUBSCRIPTION_LOST The subscription was lost. GUPNP_EVENTING_ERROR_NOTIFY_FAILED The notification failed. GUPNP_CONTROL_ERROR GUPNP_CONTROL_ERROR#define GUPNP_CONTROL_ERROR (gupnp_control_error_quark ()) The GQuark uniquely used by GUPnP's control errors. Returns : a GQuark uniquely used by GUPnP's control errors. enum GUPnPControlError GUPnPControlErrortypedef enum { GUPNP_CONTROL_ERROR_INVALID_ACTION = 401, GUPNP_CONTROL_ERROR_INVALID_ARGS = 402, GUPNP_CONTROL_ERROR_OUT_OF_SYNC = 403, GUPNP_CONTROL_ERROR_ACTION_FAILED = 501 } GUPnPControlError; GError codes used for errors in the GUPNP_CONTROL_ERROR domain, during invocation of service actions. GUPNP_CONTROL_ERROR_INVALID_ACTION The action name was invalid. GUPNP_CONTROL_ERROR_INVALID_ARGS The action arguments were invalid. GUPNP_CONTROL_ERROR_OUT_OF_SYNC Out of sync (deprecated). GUPNP_CONTROL_ERROR_ACTION_FAILED The action failed.