30 #include "../Exception.hpp"
46 virtual void set_exception(
const Exception &ex) = 0;
49 std::promise<T> &get();
58 void set_exception(
const Exception &ex)
override
60 prom.set_exception(std::make_exception_ptr(ex));
67 std::promise<T> &PromiseBase::get()
Exception thrown by MotionController in case of issues with command.
main motion-lib namespace
base structure for promise handline