#include <uhd/exception.hpp>
Public Member Functions | |
| usb_error (int code, const std::string &what) | |
| virtual unsigned | code (void) const |
| virtual usb_error * | dynamic_clone (void) const |
| virtual void | dynamic_throw (void) const |
Public Member Functions inherited from uhd::runtime_error | |
| runtime_error (const std::string &what) | |
Public Member Functions inherited from uhd::exception | |
| exception (const std::string &what) | |
Public Attributes | |
| int | _code |
Raised when an error occurs during a USB transaction.
| uhd::usb_error::usb_error | ( | int | code, |
| const std::string & | what | ||
| ) |
|
inlinevirtual |
Reimplemented from uhd::runtime_error.
|
virtual |
Reimplemented from uhd::runtime_error.
|
virtual |
Reimplemented from uhd::runtime_error.
| int uhd::usb_error::_code |