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

Indicate the parameter type does not match the expected type. More...

#include <parameter_value.hpp>

Inheritance diagram for rclcpp::ParameterTypeException:
std::runtime_error

Public Member Functions

 ParameterTypeException (ParameterType expected, ParameterType actual)
 Construct an instance. More...
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 

Detailed Description

Indicate the parameter type does not match the expected type.

Constructor & Destructor Documentation

◆ ParameterTypeException()

rclcpp::ParameterTypeException::ParameterTypeException ( ParameterType  expected,
ParameterType  actual 
)
inline

Construct an instance.

Parameters
[in]expectedthe expected parameter type.
[in]actualthe actual parameter type.

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