USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
uhd::environment_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::environment_error:
uhd::exception uhd::io_error uhd::os_error

Public Member Functions

 environment_error (const std::string &what)
 
unsigned code (void) const override
 
environment_errordynamic_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 exceptiondynamic_clone (void) const =0
 
virtual void dynamic_throw (void) const =0
 

Detailed Description

Base class for errors that occur outside of UHD.

Constructor & Destructor Documentation

◆ environment_error()

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

Member Function Documentation

◆ code()

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

Implements uhd::exception.

Reimplemented in uhd::io_error, and uhd::os_error.

◆ dynamic_clone()

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

Implements uhd::exception.

Reimplemented in uhd::io_error, and uhd::os_error.

◆ dynamic_throw()

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

Implements uhd::exception.

Reimplemented in uhd::io_error, and uhd::os_error.


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