25 #ifndef MOTION_CONTROLLER_EXCEPTION_HPP__
26 #define MOTION_CONTROLLER_EXCEPTION_HPP__
30 #include <system_error>
46 InvalidArguments = EINVAL,
50 NotSupported = ENOTSUP,
65 Exception(std::error_code ev,
const std::string &what);
67 inline const std::error_code getErrorCode()
const noexcept
72 const char *what()
const noexcept
override;
75 const std::error_code m_errorCode;
76 mutable std::string m_what;
81 Exception make_errno_exception(std::error_code ev);
Exception thrown by MotionController in case of issues with command.
ErrorCode
Error related to MotionController.
main motion-lib namespace