Skip to content

Commit

Permalink
Describe new exception
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Apr 7, 2020
1 parent b05c6e7 commit 23fbb04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rclcpp/include/rclcpp/exceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ class InvalidParameterValueException : 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.
*/
class InvalidParameterTypeException : public std::runtime_error
{
public:
Expand Down

0 comments on commit 23fbb04

Please sign in to comment.