The rospy API uses a common set of exceptions to indicate errors to your program. These exceptions are listed and described below. ROSException is the base type of these exceptions and can be used when you wish to capture all rospy-related errors. For a more complete list, including code API documentation, please see the rospy exceptions Code API docs.
- Base exception class for ROS clients
- Exception for message serialization errors
- Exception for errors initializing ROS state
Exception for operations that interrupted. This is most commonly used with rospy.sleep() and rospy.Rate
- Base class for exceptions that occur due to internal rospy errors (i.e. bugs).
Errors related to communicate with ROS Services