40 #include <moveit_msgs/msg/move_it_error_codes.hpp>
61 virtual const moveit_msgs::msg::MoveItErrorCodes::_val_type&
getErrorCode()
const = 0;
64 template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE = moveit_msgs::msg::MoveItErrorCodes::FAILURE>
70 const moveit_msgs::msg::MoveItErrorCodes::_val_type& error_code);
73 const moveit_msgs::msg::MoveItErrorCodes::_val_type&
getErrorCode()
const override;
76 const moveit_msgs::msg::MoveItErrorCodes::_val_type error_code_{ ERROR_CODE };
84 template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
90 template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
92 const std::string& msg,
const moveit_msgs::msg::MoveItErrorCodes::_val_type& error_code)
97 template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
98 inline const moveit_msgs::msg::MoveItErrorCodes::_val_type&
108 #define CREATE_MOVEIT_ERROR_CODE_EXCEPTION(EXCEPTION_CLASS_NAME, ERROR_CODE) \
109 class EXCEPTION_CLASS_NAME : public TemplatedMoveItErrorCodeException<ERROR_CODE> \
112 EXCEPTION_CLASS_NAME(const std::string& msg) : TemplatedMoveItErrorCodeException(msg) \
116 EXCEPTION_CLASS_NAME(const std::string& msg, const moveit_msgs::msg::MoveItErrorCodes::_val_type& error_code) \
117 : TemplatedMoveItErrorCodeException(msg, error_code) \
Exception storing an moveit_msgs::msg::MoveItErrorCodes value.
MoveItErrorCodeException(const MoveItErrorCodeException &)=default
MoveItErrorCodeException & operator=(const MoveItErrorCodeException &)=default
virtual const moveit_msgs::msg::MoveItErrorCodes::_val_type & getErrorCode() const =0
~MoveItErrorCodeException() override=default
MoveItErrorCodeException(MoveItErrorCodeException &&)=default
MoveItErrorCodeException(const std::string &msg)
MoveItErrorCodeException & operator=(MoveItErrorCodeException &&)=default
const moveit_msgs::msg::MoveItErrorCodes::_val_type & getErrorCode() const override
TemplatedMoveItErrorCodeException(const std::string &msg)