exception documentation
class FieldValueError(ROS2RuntimeError):
Known subclasses: ros2.runtime.errors.FieldTypeMismatchError, ros2.runtime.errors.FieldValueOutOfRangeError
Base of what the Runtime refuses to put into a ROS2 message.
rclpy accepts a field of the wrong Python type, but the conversion to C aborts the whole process on send (pinned by a Jazzy test). The guard therefore checks at declaration time, and again on send for values a client writes into a Parameter.