libyang  1.0.225
YANG data modeling language library
Error Class Reference

class for wrapping ly_err_item. More...

#include <Libyang.hpp>

Public Member Functions

 Error (struct ly_err_item *eitem)
 
 ~Error ()
 
LY_ERR err () throw ()
 
LY_VECODE vecode () throw ()
 
const char * errmsg () const throw ()
 
const char * errpath () const throw ()
 
const char * errapptag () const throw ()
 

Detailed Description

class for wrapping ly_err_item.

Definition at line 158 of file Libyang.hpp.

Constructor & Destructor Documentation

◆ Error()

Error ( struct ly_err_item *  eitem)

wrapper for ly_err_item

Definition at line 319 of file Libyang.cpp.

◆ ~Error()

~Error ( )
inline

Definition at line 163 of file Libyang.hpp.

Member Function Documentation

◆ err()

LY_ERR err ( )
throw (
)
inline

get no variable from ly_err_item

Definition at line 165 of file Libyang.hpp.

◆ vecode()

LY_VECODE vecode ( )
throw (
)
inline

get vecode variable from ly_err_item

Definition at line 167 of file Libyang.hpp.

◆ errmsg()

const char* errmsg ( ) const
throw (
)
inline

get errmsg variable from ly_err_item

Definition at line 169 of file Libyang.hpp.

◆ errpath()

const char* errpath ( ) const
throw (
)
inline

get errpath variable from ly_err_item

Definition at line 171 of file Libyang.hpp.

◆ errapptag()

const char* errapptag ( ) const
throw (
)
inline

get errapptag variable from ly_err_item

Definition at line 173 of file Libyang.hpp.


The documentation for this class was generated from the following files: