raiigraph
C++ RAII for igraph data structures
Loading...
Searching...
No Matches
raiigraph::IgraphError Class Reference

Error class for igraph-related errors. More...

#include <error.hpp>

Inheritance diagram for raiigraph::IgraphError:

Public Member Functions

 IgraphError (igraph_error_t code)
 
igraph_error_t code () const
 

Detailed Description

Error class for igraph-related errors.

Constructor & Destructor Documentation

◆ IgraphError()

raiigraph::IgraphError::IgraphError ( igraph_error_t code)
inline
Parameters
codeError code returned by igraph functions.

Member Function Documentation

◆ code()

igraph_error_t raiigraph::IgraphError::code ( ) const
inline
Returns
Error code returned by igraph functions. This should be anything but IGRAPH_SUCCESS.

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