Class InvalidParameterTypeException

Inheritance Relationships

Base Type

  • public std::runtime_error

Class Documentation

class InvalidParameterTypeException : public std::runtime_error

Thrown if requested parameter type is invalid.

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

Public Functions

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

Construct an instance.

  • name[in] the name of the parameter.

  • message[in] custom exception message.