exceptionsΒΆ

Functions

get_msg_from_errors

Get the error message from pydantic errors list.

Exceptions

ApiError

Exception raised when an API request fails.

ClientError

Exception raised when a client error (4xx status code) occurs.

DataValidationError

Exception raised when data validation fails.

ExecuteTrajectoryError

Exception raised when an error occurs during trajectory execution.

ExecutionStoppedError

Exception raised when a program execution was stopped before completing, by a client or by the safety chain.

GenerateTrajectoryError

Exception raised when an error occurs during trajectory generation.

InternalError

Exception raised when an internal error occurs.

LoadTrajectoryError

Exception raised when an error occurs during trajectory loading.

PrepareTrajectoryError

Exception raised when the robot fails to prepare a move, before any trajectory is generated: the request could not be turned into a motion problem, for instance a frame or a waypoint the robot cannot resolve.

PyNiryoError

Base exception class for all PyNiryo errors.

ServerError

Exception raised when a server error (5xx status code) occurs.

TlsError

Exception raised when the robot could not be trusted: its certificate is not signed by a Niryo root, carries no device identity, or names another device than the one this client is bound to.

TransportError

Exception raised when an HTTP request could not complete: no connection, or no response in time.