Skip to content

Commit 9ff1201

Browse files
authored
add exception doc for configure_introspection. (#2773)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent b9b46c5 commit 9ff1201

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

rclcpp/include/rclcpp/client.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,9 @@ class Client : public ClientBase
789789
* \param[in] clock clock to use to generate introspection timestamps
790790
* \param[in] qos_service_event_pub QoS settings to use when creating the introspection publisher
791791
* \param[in] introspection_state the state to set introspection to
792+
*
793+
* \throws anything rclcpp::exceptions::throw_from_rcl_error can throw if
794+
* it failed to configure introspection.
792795
*/
793796
void
794797
configure_introspection(

rclcpp/include/rclcpp/service.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@ class Service
504504
* \param[in] clock clock to use to generate introspection timestamps
505505
* \param[in] qos_service_event_pub QoS settings to use when creating the introspection publisher
506506
* \param[in] introspection_state the state to set introspection to
507+
*
508+
* \throws anything rclcpp::exceptions::throw_from_rcl_error can throw if
509+
* it failed to configure introspection.
507510
*/
508511
void
509512
configure_introspection(

0 commit comments

Comments
 (0)