module documentation

What the Runtime raises when the thing asked for did not happen.

An error is raised when something did not happen; an outcome is returned when it happened and went badly (a stop whose executor thread would not join is a StopOutcome). All errors derive from ROS2RuntimeError, which carries the ROS2 prefix so it does not collide with RuntimeError.

Exception ActionServerUnavailableError No action server answered on a path a goal was sent to.
Exception FieldSelectionError A Binding's include and exclude patterns match no field, or leave the message with none.
Exception FieldTypeMismatchError A field value is not the Python type its ROS2 field is.
Exception FieldValueError Base of what the Runtime refuses to put into a ROS2 message.
Exception FieldValueOutOfRangeError A field value does not fit the ROS2 integer or the bound its field declares.
Exception GoalClosedError Feedback or a result was awaited from a Goal whose lifetime has ended.
Exception InvalidMessageTypeNameError A declared type name is not package/Name or package/kind/Name.
Exception LoopAffinityError A Runtime operation was awaited on an event loop other than the one that started it.
Exception MessageTypeError A declared ROS2 message type cannot be resolved, or a field has a form this Runtime does not model.
Exception MissingInterfacePackageError A declared type's interface package is not installed.
Exception PublishFailedError rclpy refused to put a message on a topic.
Exception ROS2RuntimeError Base of every error the Runtime raises: something it was asked to do did not happen.
Exception RuntimeAlreadyStartedError Runtime.start ran twice, which would leak the first Context, Node and executor thread.
Exception RuntimeNotStartedError An operation needing the ROS2 node ran before Runtime.start, or after stop.
Exception ServiceCallTimeoutError A service server took the request and never answered within the call timeout.
Exception ServiceUnavailableError No service server answered on a path a request was sent to.
Exception SubscriptionClosedError A message, delta or update was awaited from a Subscription or a watch whose lifetime has ended.
Exception UnusableMessageTypeError The interface package is installed but the named type is absent or is not a message.