Error Callback Result
- class bosdyn.client.error_callback_result.ErrorCallbackResult(value)[source]
Bases:
Enum
Enum indicating error resolution for errors encountered on SDK background threads.
There are a few places in the SDK where errors can occur in background threads and it would be useful to provide these errors to client code to resolve. Once the application’s provided callback performs its action, it returns one of these enum values to indicate what the background thread should do next.
- DEFAULT_ACTION = 1
Take the default action as if no error handler had been provided.
- RETRY_IMMEDIATELY = 2
Retry the operation immediately, presumably because the error has been resolved and the operation can be retried.
- RETRY_WITH_EXPONENTIAL_BACK_OFF = 3
Retry, with the period between successive retries increasing exponentially.
- RESUME_NORMAL_OPERATION = 4
Continue normal operation, presuming the error has been resolved and no further action is needed.
- ABORT = 5
Abort the loop in the background thread.