Exceptions
- exception bosdyn.client.exceptions.Error[source]
Bases:
ExceptionBase exception that all public api exceptions are derived from.
- exception bosdyn.client.exceptions.ResponseError(response, error_message=None)[source]
Bases:
ErrorException triggered by a server response whose rpc succeeded.
- exception bosdyn.client.exceptions.InvalidRequestError(response, error_message=None)[source]
Bases:
ResponseErrorThe provided request arguments are ill-formed or invalid, independent of the system state.
- exception bosdyn.client.exceptions.LeaseUseError(response, lease_use_result)[source]
Bases:
ResponseErrorRequest was rejected due to using an invalid lease.
- exception bosdyn.client.exceptions.LicenseError(response, error_message=None)[source]
Bases:
ResponseErrorRequest was rejected due to using an invalid license.
- exception bosdyn.client.exceptions.ServerError(response, error_message=None)[source]
Bases:
ResponseErrorService encountered an unrecoverable error.
- exception bosdyn.client.exceptions.InternalServerError(response, error_message=None)[source]
Bases:
ServerErrorService experienced an unexpected error state.
- exception bosdyn.client.exceptions.UnsetStatusError(response, error_message=None)[source]
Bases:
ServerErrorResponse’s status field (in either message or common header) was UNKNOWN value.
- exception bosdyn.client.exceptions.RpcError(original_error, error_message=None)[source]
Bases:
ErrorAn error occurred trying to reach a service on the robot.
- exception bosdyn.client.exceptions.RetryableRpcError(original_error, error_message=None)[source]
Bases:
RpcErrorAn RpcError that denotes the same request may succeed if retried.
- exception bosdyn.client.exceptions.PersistentRpcError(original_error, error_message=None)[source]
Bases:
RpcErrorAn RpcError that will almost certainly continue to keep failing if retried
- exception bosdyn.client.exceptions.ClientCancelledOperationError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe user cancelled the rpc request.
- exception bosdyn.client.exceptions.InvalidClientCertificateError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe provided client certificate is invalid.
- exception bosdyn.client.exceptions.NonexistentAuthorityError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe app token’s authority field names a nonexistent service.
- exception bosdyn.client.exceptions.PermissionDeniedError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe rpc request was denied access.
- exception bosdyn.client.exceptions.ProxyConnectionError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe proxy on the robot could not be reached.
- exception bosdyn.client.exceptions.ResponseTooLargeError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe rpc response was larger than allowed max size.
Bases:
RetryableRpcErrorThe proxy could not find the (possibly unregistered) service.
- exception bosdyn.client.exceptions.TooManyRequestsError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe remote procedure call did not go through the proxy due to rate limiting.
- exception bosdyn.client.exceptions.ServiceFailedDuringExecutionError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe service encountered an unexpected failure.
- exception bosdyn.client.exceptions.TimedOutError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe remote procedure call did not terminate within the allotted time.
- exception bosdyn.client.exceptions.UnableToConnectToRobotError(original_error, error_message=None)[source]
Bases:
RetryableRpcErrorThe robot may be offline or otherwise unreachable.
Bases:
UnableToConnectToRobotErrorService unavailable or channel reset. Likely transient and can be resolved by retrying.
- exception bosdyn.client.exceptions.UnauthenticatedError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe 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:
PersistentRpcErrorThe system is unable to translate the domain name.
- exception bosdyn.client.exceptions.NotFoundError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe backend system could not be found.
- exception bosdyn.client.exceptions.UnimplementedError(original_error, error_message=None)[source]
Bases:
PersistentRpcErrorThe 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:
RetryableRpcErrorThe channel is in state TRANSIENT_FAILURE, often caused by a connection failure.
- exception bosdyn.client.exceptions.TimeSyncRequired[source]
Bases:
ErrorTime synchronization is required but none seems to be established.
- exception bosdyn.client.exceptions.CustomParamError(response, custom_param_error)[source]
Bases:
ResponseErrorA custom parameter that was provided did not match the specification