USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
uhd::narrowing_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::narrowing_error:
uhd::value_error uhd::exception

Public Member Functions

 narrowing_error (const std::string &what)
 
unsigned code (void) const override
 
narrowing_errordynamic_clone (void) const override
 
void dynamic_throw (void) const override
 
- Public Member Functions inherited from uhd::value_error
 value_error (const std::string &what)
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

Raised when a value is inappropriate because it can't be narrowed as required.

Mostly raised by uhd::narrow()

Constructor & Destructor Documentation

◆ narrowing_error()

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

Member Function Documentation

◆ code()

unsigned uhd::narrowing_error::code ( void  ) const
overridevirtual

Reimplemented from uhd::value_error.

◆ dynamic_clone()

narrowing_error* uhd::narrowing_error::dynamic_clone ( void  ) const
overridevirtual

Reimplemented from uhd::value_error.

◆ dynamic_throw()

void uhd::narrowing_error::dynamic_throw ( void  ) const
overridevirtual

Reimplemented from uhd::value_error.


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