#include <uhd/exception.hpp>
Public Member Functions | |
| type_error (const std::string &what) | |
| virtual unsigned | code (void) const |
| virtual type_error * | dynamic_clone (void) const |
| virtual void | dynamic_throw (void) const |
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 |
Raised when an operation or function is executed with a value of incorrect type.
This might occur when values are being passed around as strings, but the underlying code will need convert to a native type.
| uhd::type_error::type_error | ( | const std::string & | what | ) |
|
virtual |
Implements uhd::exception.
|
virtual |
Implements uhd::exception.
|
virtual |
Implements uhd::exception.