rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::exceptions::RCLError Class Reference

Created when the return code does not match one of the other specialized exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for rclcpp::exceptions::RCLError:
rclcpp::exceptions::RCLErrorBase

Public Member Functions

 RCLError (rcl_ret_t ret, const rcl_error_state_t *error_state, const std::string &prefix)
 
 RCLError (const RCLErrorBase &base_exc, const std::string &prefix)
 
- Public Member Functions inherited from rclcpp::exceptions::RCLErrorBase
 RCLErrorBase (rcl_ret_t ret, const rcl_error_state_t *error_state)
 
virtual ~RCLErrorBase ()
 

Additional Inherited Members

- Public Attributes inherited from rclcpp::exceptions::RCLErrorBase
rcl_ret_t ret
 
std::string message
 
std::string file
 
size_t line
 
std::string formatted_message
 

Detailed Description

Created when the return code does not match one of the other specialized exceptions.

Constructor & Destructor Documentation

◆ RCLError() [1/2]

rclcpp::exceptions::RCLError::RCLError ( rcl_ret_t  ret,
const rcl_error_state_t error_state,
const std::string &  prefix 
)

◆ RCLError() [2/2]

rclcpp::exceptions::RCLError::RCLError ( const RCLErrorBase base_exc,
const std::string &  prefix 
)

The documentation for this class was generated from the following file: