#include <uhd/exception.hpp>
Public Member Functions | |
| usb_error (int code, const std::string &what) | |
| unsigned | code (void) const override |
| usb_error * | dynamic_clone (void) const override |
| void | dynamic_throw (void) const override |
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 ) |
|
inlineoverridevirtual |
Reimplemented from uhd::runtime_error.
|
overridevirtual |
Reimplemented from uhd::runtime_error.
|
overridevirtual |
Reimplemented from uhd::runtime_error.
| int uhd::usb_error::_code |