40#include <moveit_msgs/msg/move_it_error_codes.hpp>
61 virtual const moveit_msgs::msg::MoveItErrorCodes::_val_type&
getErrorCode()
const = 0;
64template <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 };
84template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
90template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
92 const std::string& msg,
const moveit_msgs::msg::MoveItErrorCodes::_val_type& error_code)
97template <moveit_msgs::msg::MoveItErrorCodes::_val_type ERROR_CODE>
98inline 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 & operator=(const MoveItErrorCodeException &)=default
MoveItErrorCodeException(const MoveItErrorCodeException &)=default
~MoveItErrorCodeException() override=default
MoveItErrorCodeException(MoveItErrorCodeException &&)=default
MoveItErrorCodeException & operator=(MoveItErrorCodeException &&)=default
MoveItErrorCodeException(const std::string &msg)
virtual const moveit_msgs::msg::MoveItErrorCodes::_val_type & getErrorCode() const =0
const moveit_msgs::msg::MoveItErrorCodes::_val_type & getErrorCode() const override
TemplatedMoveItErrorCodeException(const std::string &msg)