Enums¶
GUPnP.ControlError
GUPnP.EventingError
GUPnP.RootdeviceError
GUPnP.ServerError
GUPnP.ServiceActionArgDirection
GUPnP.XMLError
Details¶
-
class
GUPnP.
ControlError
(value)¶ Bases:
GObject.GEnum
GLib.Error
codes used for errors in the #GUPNP_CONTROL_ERROR domain, during invocation of service actions.-
INVALID_ACTION
= 401¶ The action name was invalid.
-
INVALID_ARGS
= 402¶ The action arguments were invalid.
-
OUT_OF_SYNC
= 403¶ Out of sync (deprecated).
-
ACTION_FAILED
= 501¶ The action failed.
-
-
class
GUPnP.
EventingError
(value)¶ Bases:
GObject.GEnum
GLib.Error
codes used for errors in the #GUPNP_EVENTING_ERROR domain, during eventing of state variables.-
SUBSCRIPTION_FAILED
= 0¶ The subscription attempt failed.
-
SUBSCRIPTION_LOST
= 1¶ The subscription was lost.
-
NOTIFY_FAILED
= 2¶ The notification failed.
-
-
class
GUPnP.
RootdeviceError
(value)¶ Bases:
GObject.GEnum
-
NO_CONTEXT
= 0¶
-
NO_DESCRIPTION_PATH
= 1¶
-
NO_DESCRIPTION_FOLDER
= 2¶
-
NO_NETWORK
= 3¶
-
FAIL
= 4¶
-
-
class
GUPnP.
ServerError
(value)¶ Bases:
GObject.GEnum
GLib.Error
codes used for errors in the #GUPNP_SERVER_ERROR domain, when there is communication with another server.-
INTERNAL_SERVER_ERROR
= 0¶ Internal server error.
-
NOT_FOUND
= 1¶ The resource was not found.
-
NOT_IMPLEMENTED
= 2¶ This method is not implemented.
-
INVALID_RESPONSE
= 3¶ Invalid response.
-
INVALID_URL
= 4¶ Invalid URL.
-
OTHER
= 5¶ Unknown/unhandled error.
-
-
class
GUPnP.
ServiceActionArgDirection
(value)¶ Bases:
GObject.GEnum
Represents the direction of a service state variable.
-
IN
= 0¶ An “in” variable, to the service.
-
OUT
= 1¶ An “out” variable, from the service.
-
-
class
GUPnP.
XMLError
(value)¶ Bases:
GObject.GEnum
GLib.Error
codes used for errors in the #GUPNP_XML_ERROR domain, during processing of XML data.-
PARSE
= 0¶ Generic XML parsing error.
-
NO_NODE
= 1¶ A required XML node was not found.
-
EMPTY_NODE
= 2¶ An XML node is unexpectedly empty.
-
INVALID_ATTRIBUTE
= 3¶ An XML node has an unknown attribute.
-
OTHER
= 4¶ Unknown/unhandled XML related errors.
-