15. Exceptions
Base exceptions and errors for NetworkX.
-
class
networkx.NetworkXException[source]
Base class for exceptions in NetworkX.
-
class
networkx.NetworkXError[source]
Exception for a serious error in NetworkX
-
class
networkx.NetworkXPointlessConcept[source]
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
networkx.NetworkXAlgorithmError[source]
Exception for unexpected termination of algorithms.
-
class
networkx.NetworkXUnfeasible[source]
Exception raised by algorithms trying to solve a problem
instance that has no feasible solution.
-
class
networkx.NetworkXNoPath[source]
Exception for algorithms that should return a path when running
on graphs where such a path does not exist.
-
class
networkx.NodeNotFound[source]
Exception raised if requested node is not present in the graph
-
class
networkx.NetworkXUnbounded[source]
Exception raised by algorithms trying to solve a maximization
or a minimization problem instance that is unbounded.