Class DeviceError

Inheritance Relationships

Base Type

  • public std::runtime_error

Class Documentation

class DeviceError : public std::runtime_error

Common exception for communication error.

Public Functions

template<typename T>
inline DeviceError(const char *module, T msg)

@breif Construct error.

Public Static Functions

template<typename T>
static inline std::string make_message(const char *module, T msg)
static inline std::string msg_to_string(const char *description)
static inline std::string msg_to_string(int errnum)
static inline std::string msg_to_string(std::system_error &err)