Full List of Exceptions
  • 2 Minutes to read

Full List of Exceptions


Article summary

All the exceptions thrown by the SDK are Python standard exceptions, and inherit from the RayaException class.

Complete list of exceptions:

Application Exceptions

Parent exception (inherits from RayaException):

ExceptionCondition
RayaApplicationExceptionRaya application could not be initialized.

Child exceptions:

ExceptionCondition
RayaInvalidAppNameExceptionProvided application name is not valid.
RayaRestfulModeExceptionRestful mode could not be enabled.

Value Exceptions

Parent exception (inherits from RayaException):

ExceptionCondition
RayaValueExceptionInvalid value.

Child exceptions:

ExceptionCondition
RayaInvalidNumericRangeInvalid numeric range: low value ir greater than high value, or one of the range limits is not a number.
RayaInvalidRGBRangeInvalid RGB range: values are not between 0 and 255, or some high value is not greater that the equivalent low value.
RayaInvalidHSVRangeInvalid HSV range: H value is not between 0 and 180, S or V valuer are not between 0 and 100, or some high value is not greater that the equivalent low value.

Controller Exceptions

Parent exception (inherits from RayaException):

ExceptionCondition
RayaControllerExceptionException from controllers.

Listener Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaListenerExceptionException from listener method.

Child exceptions:

ExceptionCondition
RayaListenerAlreadyCreatedProvided listener name already used to create another listener.
RayaListenerUnknownProvided listener name not recognized.
RayaInvalidCallbackInvalid or not callable callback.

Arms Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaArmsExceptionException from arms controller.

Child exceptions:

ExceptionCondition
RayaArmsJointsPositionInvalid joints positions.
RayaArmsInvalidPoseInvalid provided pose.
RayaArmsNoJointDataController has not received joints data.
RayaArmsNotValidArmNameInvalid or known arm name.
RayaArmsNotValidJointNameInvalid or known joint name.
RayaArmsNotMovingSelected arm is not moving.
RayaArmsOutOfRangeProvided positions out of the valid ranges.

Cameras Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaCamerasExceptionException from cameras method.

Child exceptions:

ExceptionCondition
RayaInvalidCameraNameInvalid camera name.
RayaCameraNotEnabledSelected camera is not currently enabled.

Lidar Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaLidarExceptionException from lidar method.

Motion Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaMotionExceptionException from motion method.

Sensors Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaSensorsExceptionException from sensors method.

Child exceptions:

ExceptionCondition
RayaSensorsUnknownPathUnknown sensor path.
RayaSensorsIncompatiblePathSensor path not compatible with current robot.
RayaSensorsInvalidPathIncorrect sensor path.
RayaSensorsInvalidColorNameUnknown color name.

Communication Exceptions

Parent exception (inherits from RayaControllerException):

ExceptionCondition
RayaCommunicationExceptionException from sensors method.

Child exceptions:

ExceptionCondition
RayaNotInCommServerModeRaya not running in communication server mode.
RayaInCommServerModeRaya running in communication mode.
RayaCommNotRegisteredAppRequested app is not registered.
RayaCommCommandAlreadyRegisteredProvided command name already registered.
RayaCommNotRegisteredCommandRequested command not registered in the privided app.

Navigation Exceptions

Parent exception (inherits from RayaException):

ExceptionCondition
RayaNavigationExceptionException from Navigation controller.

Child exceptions:

ExceptionCondition
RayaNavigationInProgressNavigation in progress.
RayaNavigationNotInProgressNot navigation in progress.

Interactions Exceptions

Parent exception (inherits from RayaException):

ExceptionCondition
RayaInteractionsExceptionException from Interactions controller.

Child exceptions:

ExceptionCondition
RayaInteractionsUnknownGroupUnknown LEDs group.
RayaInteractionsNotValidIDNot valid ID for the selected group.

Was this article helpful?

What's Next