rclcpp
beta1
C++ ROS Client Library API
|
Created when the return code does not match one of the other specialized exceptions. More...
#include <exceptions.hpp>
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 () |
Public Member Functions inherited from std::runtime_error | |
T | runtime_error (T... args) |
T | what (T... args) |
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 |
Created when the return code does not match one of the other specialized exceptions.
rclcpp::exceptions::RCLError::RCLError | ( | rcl_ret_t | ret, |
const rcl_error_state_t * | error_state, | ||
const std::string & | prefix | ||
) |
rclcpp::exceptions::RCLError::RCLError | ( | const RCLErrorBase & | base_exc, |
const std::string & | prefix | ||
) |