anki_vector.exceptions

SDK-specific exception classes for Vector.

Functions

connection_error(rpc_error)

Translates grpc-specific errors to user-friendly VectorConnectionException.

Exceptions

VectorAsyncException([_cause])

Invalid asynchronous action attempted.

VectorBehaviorControlException([_cause])

Invalid behavior control action attempted.

VectorCameraFeedException([_cause])

The camera feed is not open.

VectorCameraImageCaptureException([_cause])

Image capture exception.

VectorConfigurationException([_cause])

Invalid or missing configuration data.

VectorConnectionException(cause)

VectorControlException(function)

Unable to run a function which requires behavior control.

VectorControlTimeoutException([_cause])

Failed to get control of Vector.

VectorException

Base class of all Vector SDK exceptions.

VectorExternalAudioPlaybackException

Failed to play external audio on Vector.

VectorInvalidVersionException(version_response)

Your SDK version is not compatible with Vector's version.

VectorNotFoundException([_cause])

Unable to establish a connection to Vector.

VectorNotReadyException([_cause])

Vector tried to do something before it was ready.

VectorPropertyValueNotReadyException([_cause])

Failed to retrieve the value for this property.

VectorTimeoutException(cause)

Message took too long to complete.

VectorUnauthenticatedException(cause)

Failed to authenticate request.

VectorUnavailableException(cause)

Unable to reach Vector.

VectorUnimplementedException(cause)

Vector does not handle this message.

VectorUnreliableEventStreamException

The robot event stream is currently unreliable.