IoticAgent.IOT.Exceptions module

exception IoticAgent.IOT.Exceptions.IOTAccessDenied(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Request FAILED with ACL Access Denied

exception IoticAgent.IOT.Exceptions.IOTClientError(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Unexpected agent-local failure

exception IoticAgent.IOT.Exceptions.IOTException(msg, event=None)

Bases: Exception

Base Exception class for IOT

event

RequestEvent instance associated with exception, or None if not available/applicable

Type:Returns
exception IoticAgent.IOT.Exceptions.IOTInternalError(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Request FAILED with Internal Error

exception IoticAgent.IOT.Exceptions.IOTMalformed(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Request FAILED due to invalid parameters (this might indicate agent incompatibility)

exception IoticAgent.IOT.Exceptions.IOTNotAllowed(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Request FAILED to unsupporter request (e.g. a feature is not enabled/available)

exception IoticAgent.IOT.Exceptions.IOTSyncTimeout(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Synchronous request timeout (see IOT.sync_request_timeout configuration option). Raised when a request does not complete within the timeout.

exception IoticAgent.IOT.Exceptions.IOTUnknown(msg, event=None)

Bases: IoticAgent.IOT.Exceptions.IOTException

Request FAILED because of Unkown resource (EG Thing not found)