<> 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 [[http://www.ros.org/doc/api/rospy/html/rospy.exceptions-module.html|rospy exceptions Code API docs]]. `ROSException` Base exception class for ROS clients `ROSSerializationException` Exception for message serialization errors `ROSInitException` Exception for errors initializing ROS state `ROSInterruptException` Exception for operations that interrupted. This is most commonly used with `rospy.sleep()` and `rospy.Rate` `ROSInternalException` Base class for exceptions that occur due to internal rospy errors (i.e. bugs). `ServiceException` Errors related to communicate with ROS [[Services]]