Skip to content

Commit

Permalink
Fixing Typo
Browse files Browse the repository at this point in the history
Signed-off-by: CursedRock17 <mtglucas1@gmail.com>

Finishing typos

Signed-off-by: CursedRock17 <mtglucas1@gmail.com>
  • Loading branch information
CursedRock17 committed Aug 14, 2023
1 parent 91c7662 commit e28d1df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/exceptions/exceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class UnknownROSArgsError : public std::runtime_error
};

/// Thrown when an unknown type is passed
class UnkownTypeError : public std::runtime_error
class UnknownTypeError : public std::runtime_error
{
public:
explicit UnknownTypeError(const std::string & type)
Expand Down
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/parameter_value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ParameterValue::ParameterValue(const rcl_interfaces::msg::ParameterValue & value
case PARAMETER_NOT_SET:
break;
default:
UnknownTypeError(std::to_string(value.type));
throw rclcpp::exceptions::UnknownTypeError(std::to_string(value.type));
}
}

Expand Down

0 comments on commit e28d1df

Please sign in to comment.