This improves the error message when creating a topic fails. The return codes are the documented return codes for dds_create_topic_generic and dds_create_topic_sertype, which is what create_topic() uses depending on the preprocessor definition DDS_HAS_DDSI_SERTYPE.
* [#406 Improve error message when create_topic fails (backport #405)](https://github.com/ros2/rmw_cyclonedds/pull/406) has been created for branch `humble`
* [#407 Improve error message when create_topic fails (backport #405)](https://github.com/ros2/rmw_cyclonedds/pull/407) has been created for branch `galactic`
* [#408 Improve error message when create_topic fails (backport #405)](https://github.com/ros2/rmw_cyclonedds/pull/408) has been created for branch `foxy`
This improves the error message when creating a topic fails. The return codes are the documented return codes for
dds_create_topic_generic
anddds_create_topic_sertype
, which is whatcreate_topic()
uses depending on the preprocessor definitionDDS_HAS_DDSI_SERTYPE
.https://cyclonedds.io/docs/cyclonedds/latest/api/topic.html#c.dds_create_topic_generic https://cyclonedds.io/docs/cyclonedds/latest/api/topic.html#c.dds_create_topic_sertype