Back to Arangodb

boost/graph/exception.hpp

3rdParty/boost/1.78.0/libs/graph/doc/exception.html

3.12.9.1772 B
Original Source

boost/graph/exception.hpp

The BGL defines several exception classes for reporting errors from BGL algorithms. Many of the BGL algorithms place certain requirements on the input graph. If these requirements are not met then the algorithm can not successfully complete, and instead throws the appropriate exception.

Synopsis

structbad\_graph: public invalid_argument {
    bad_graph(const string& what_arg);
  };
  structnot\_a\_dag: public bad_graph {
    not_a_dag();
  };
  structnegative\_edge: public bad_graph {
    negative_edge();
  };
  structnegative\_cycle: public bad_graph {
    negative_cycle();
  };
  structnot\_connected: public bad_graph {
    not_connected();
  };