USRP Hardware Driver and USRP Manual: uhd::os_error Struct Reference

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
uhd::os_error Struct Reference

`#include <uhd/exception.hpp>`

Inheritance diagram for uhd::os_error:

## Public Member Functions
| os_error (const std::string &what)
unsigned | code (void) const override
os_error * | dynamic_clone (void) const override
void | dynamic_throw (void) const override
Public Member Functions inherited from uhd::environment_error
| environment_error (const std::string &what)
Public Member Functions inherited from uhd::exception
| exception (const std::string &what)

## Detailed Description

Raised when a function returns a system-related error.

## Constructor & Destructor Documentation

## ◆ os_error()

uhd::os_error::os_error | ( | const std::string & | what | ) |

## Member Function Documentation

## ◆ code()

unsigned uhd::os_error::code | ( | void |  | ) | const
| overridevirtual

Reimplemented from uhd::environment_error.

## ◆ dynamic_clone()

os_error * uhd::os_error::dynamic_clone | ( | void |  | ) | const
| overridevirtual

Reimplemented from uhd::environment_error.

## ◆ dynamic_throw()

void uhd::os_error::dynamic_throw | ( | void |  | ) | const
| overridevirtual

Reimplemented from uhd::environment_error.

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

- exception.hpp