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

#include <uhd/exception.hpp>

Inheritance diagram for uhd::key_error:
uhd::lookup_error uhd::exception

Public Member Functions

 key_error (const std::string &what)
 
unsigned code (void) const override
 
key_errordynamic_clone (void) const override
 
void dynamic_throw (void) const override
 
- Public Member Functions inherited from uhd::lookup_error
 lookup_error (const std::string &what)
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

Raised when a dictionary-like object is trying to be indexed by an invalid key.

This includes the property tree.

Constructor & Destructor Documentation

◆ key_error()

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

Member Function Documentation

◆ code()

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

Reimplemented from uhd::lookup_error.

◆ dynamic_clone()

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

Reimplemented from uhd::lookup_error.

◆ dynamic_throw()

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

Reimplemented from uhd::lookup_error.


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