Exceptions

exception bosdyn.client.exceptions.Error[source]

Bases: Exception

Base exception that all public api exceptions are derived from.

exception bosdyn.client.exceptions.ResponseError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.Error

Exception triggered by a server response whose rpc succeeded.

exception bosdyn.client.exceptions.InvalidRequestError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

The provided request arguments are ill-formed or invalid.

This is programmer error, hence it should be fixed and not ignored. This error does not depend on the state of the system.

exception bosdyn.client.exceptions.LeaseUseError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Request was rejected due to using an invalid lease.

This is thrown by services outside of LeaseService.

exception bosdyn.client.exceptions.LicenseError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Request was rejected due to using an invalid license.

exception bosdyn.client.exceptions.ServerError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Service encountered an unrecoverable error.

exception bosdyn.client.exceptions.InternalServerError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ServerError

Service experienced an unexpected error state.

exception bosdyn.client.exceptions.UnsetStatusError(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ServerError

Response’s status field (in either message or common header) was UNKNOWN value.

exception bosdyn.client.exceptions.RpcError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.Error

An error occurred trying to reach a service on the robot.

exception bosdyn.client.exceptions.ClientCancelledOperationError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The user cancelled the rpc request.

exception bosdyn.client.exceptions.InvalidAppTokenError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The provided app token is invalid.

exception bosdyn.client.exceptions.InvalidClientCertificateError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The provided client certificate is invalid.

exception bosdyn.client.exceptions.NonexistentAuthorityError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The app token’s authority field names a nonexistent service.

exception bosdyn.client.exceptions.PermissionDeniedError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The rpc request was denied access.

exception bosdyn.client.exceptions.ProxyConnectionError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The proxy on the robot could not be reached.

exception bosdyn.client.exceptions.ResponseTooLargeError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The rpc response was larger than allowed max size.

exception bosdyn.client.exceptions.ServiceUnavailableError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The proxy could not find the (possibly unregistered) service.

exception bosdyn.client.exceptions.ServiceFailedDuringExecutionError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The service encountered an unexpected failure.

exception bosdyn.client.exceptions.TimedOutError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The remote procedure call did not terminate within the allotted time.

exception bosdyn.client.exceptions.UnableToConnectToRobotError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The robot may be offline or otherwise unreachable.

exception bosdyn.client.exceptions.UnauthenticatedError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The user needs to authenticate or does not have permission to access requested service.

exception bosdyn.client.exceptions.UnknownDnsNameError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The system is unable to translate the domain name.

exception bosdyn.client.exceptions.NotFoundError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The backend system could not be found.

exception bosdyn.client.exceptions.UnimplementedError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The API does not recognize the request and is unable to complete the request.

exception bosdyn.client.exceptions.TransientFailureError(original_error, error_message=None)[source]

Bases: bosdyn.client.exceptions.RpcError

The channel is in state TRANSIENT_FAILURE, often caused by a connection failure.

exception bosdyn.client.exceptions.TimeSyncRequired[source]

Bases: bosdyn.client.exceptions.Error

Time synchronization is required but none seems to be established.