sysrepo  1.4.70
YANG datastore
Errors Class Reference

Class for wrapping sr_error_info_t. More...

#include <Struct.hpp>

Public Member Functions

 Errors ()
 
 ~Errors ()
 
sr_error_t error_code ()
 
const char * message (size_t idx)
 
const char * xpath (size_t idx)
 
size_t error_cnt ()
 

Friends

class Session
 

Detailed Description

Class for wrapping sr_error_info_t.

Definition at line 259 of file Struct.hpp.

Constructor & Destructor Documentation

◆ Errors()

Errors ( )

Constructor for an empty sr_error_info_t.

◆ ~Errors()

~Errors ( )

Member Function Documentation

◆ error_code()

sr_error_t error_code ( )
inline

Getter for error code.

Definition at line 266 of file Struct.hpp.

◆ message()

const char* message ( size_t  idx)
inline

Getter for messages.

Definition at line 268 of file Struct.hpp.

◆ xpath()

const char* xpath ( size_t  idx)
inline

Getter for xpaths.

Definition at line 270 of file Struct.hpp.

◆ error_cnt()

size_t error_cnt ( )
inline

Getter for array size.

Definition at line 272 of file Struct.hpp.

Friends And Related Function Documentation

◆ Session

friend class Session
friend

Definition at line 274 of file Struct.hpp.


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