USRP Hardware Driver and USRP Manual Version: 4.2.0.0
UHD and USRP Manual
uhd::syntax_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::syntax_error:
uhd::exception

Public Member Functions

 syntax_error (const std::string &what)
 
unsigned code (void) const override
 
syntax_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

Raised when a parser encounters a syntax error.

Within UHD, this is limited to Noc-Script execution.

Constructor & Destructor Documentation

◆ syntax_error()

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

Member Function Documentation

◆ code()

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

Implements uhd::exception.

◆ dynamic_clone()

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

Implements uhd::exception.

◆ dynamic_throw()

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

Implements uhd::exception.


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