ROS 2 rclcpp + rcl - kilted  kilted
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::exceptions::InvalidParameterTypeException Class Reference

Thrown if requested parameter type is invalid. More...

#include <rclcpp/exceptions/exceptions.hpp>

Inheritance diagram for rclcpp::exceptions::InvalidParameterTypeException:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::exceptions::InvalidParameterTypeException:
Collaboration graph
[legend]

Public Member Functions

RCLCPP_PUBLIC InvalidParameterTypeException (const std::string &name, const std::string message)
 Construct an instance. More...
 

Detailed Description

Thrown if requested parameter type is invalid.

Essentially the same as rclcpp::ParameterTypeException, but with parameter name in the error message.

Definition at line 270 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ InvalidParameterTypeException()

RCLCPP_PUBLIC rclcpp::exceptions::InvalidParameterTypeException::InvalidParameterTypeException ( const std::string &  name,
const std::string  message 
)
inline

Construct an instance.

Parameters
[in]namethe name of the parameter.
[in]messagecustom exception message.

Definition at line 279 of file exceptions.hpp.


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