ros2_canopen  master
C++ ROS CANopen Library
driver_error.hpp
Go to the documentation of this file.
1 #ifndef DRIVER_ERROR_HPP_
2 #define DRIVER_ERROR_HPP_
3 
4 #include <string>
5 #include <system_error>
6 
7 namespace ros2_canopen
8 {
16 class DriverException : public std::exception
17 {
18 private:
19  std::string what_;
20 
21 public:
22  DriverException(std::string what) { what_ = what; }
23 
24  char * what();
25 };
26 
27 } // namespace ros2_canopen
28 
29 #endif
Driver Exception.
Definition: driver_error.hpp:17
DriverException(std::string what)
Definition: driver_error.hpp:22
Definition: configuration_manager.hpp:28