#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) | |
unsigned | code (void) const override |
runtime_error * | dynamic_clone (void) const override |
void | dynamic_throw (void) const override |
Public Member Functions inherited from uhd::exception | |
exception (const std::string &what) | |
virtual unsigned | code (void) const =0 |
virtual exception * | dynamic_clone (void) const =0 |
virtual void | dynamic_throw (void) const =0 |
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 |