USRP Hardware Driver and USRP Manual  Version: 4.0.0.0-147-g6728ec40b
UHD and USRP Manual
uhd::type_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::type_error:
uhd::exception

Public Member Functions

 type_error (const std::string &what)
 
virtual unsigned code (void) const
 
virtual type_errordynamic_clone (void) const
 
virtual void dynamic_throw (void) const
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ type_error()

uhd::type_error::type_error ( const std::string &  what)

Member Function Documentation

◆ code()

virtual unsigned uhd::type_error::code ( void  ) const
virtual

Implements uhd::exception.

◆ dynamic_clone()

virtual type_error* uhd::type_error::dynamic_clone ( void  ) const
virtual

Implements uhd::exception.

◆ dynamic_throw()

virtual void uhd::type_error::dynamic_throw ( void  ) const
virtual

Implements uhd::exception.


The documentation for this struct was generated from the following file: