anki_vector.exceptions

SDK-specific exception classes for Vector.

Functions

connection_error(rpc_error) Translates grpc-specific errors to user-friendly VectorConnectionException.

Exceptions

VectorCameraFeedDisabledException Failed to render video because camera feed was disabled.
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.
VectorInvalidVersionException(…) 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.
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.
exception anki_vector.exceptions.VectorCameraFeedDisabledException

Failed to render video because camera feed was disabled.

exception anki_vector.exceptions.VectorConnectionException(cause)
exception anki_vector.exceptions.VectorControlException(function)

Unable to run a function which requires behavior control.

exception anki_vector.exceptions.VectorControlTimeoutException(cause=None)

Failed to get control of Vector.

Please verify that Vector is connected to the internet, is on a flat surface, and is fully charged.

exception anki_vector.exceptions.VectorException

Base class of all Vector SDK exceptions.

exception anki_vector.exceptions.VectorInvalidVersionException(version_request, version_response)

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

exception anki_vector.exceptions.VectorNotFoundException(cause=None)

Unable to establish a connection to Vector.

Make sure you’re on the same network, and Vector is connected to the internet.

exception anki_vector.exceptions.VectorNotReadyException(cause=None)

Vector tried to do something before it was ready.

exception anki_vector.exceptions.VectorTimeoutException(cause)

Message took too long to complete.

exception anki_vector.exceptions.VectorUnauthenticatedException(cause)

Failed to authenticate request.

exception anki_vector.exceptions.VectorUnavailableException(cause)

Unable to reach Vector.

exception anki_vector.exceptions.VectorUnimplementedException(cause)

Vector does not handle this message.

anki_vector.exceptions.connection_error(rpc_error)

Translates grpc-specific errors to user-friendly VectorConnectionException.

Return type:VectorConnectionException