Warning
This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Exceptions¶
Base exceptions and errors for NetworkX.
- class NetworkXException¶
Base class for exceptions in NetworkX.
- class NetworkXError¶
Exception for a serious error in NetworkX
- class NetworkXPointlessConcept¶
Harary, F. and Read, R. “Is the Null Graph a Pointless Concept?” In Graphs and Combinatorics Conference, George Washington University. New York: Springer-Verlag, 1973.
- class NetworkXAlgorithmError¶
Exception for unexpected termination of algorithms.
- class NetworkXUnfeasible¶
Exception raised by algorithms trying to solve a problem instance that has no feasible solution.
- class NetworkXNoPath¶
Exception for algorithms that should return a path when running on graphs where such a path does not exist.
- class NetworkXUnbounded¶
Exception raised by algorithms trying to solve a maximization or a minimization problem instance that is unbounded.