easygraph.utils.exception module#
Base exceptions and errors for EasyGraph.
- exception easygraph.utils.exception.EasyGraphError[source]#
Bases:
EasyGraphException
Exception for a serious error in EasyGraph
- exception easygraph.utils.exception.EasyGraphException[source]#
Bases:
Exception
Base class for exceptions in EasyGraph.
- exception easygraph.utils.exception.EasyGraphNotImplemented[source]#
Bases:
EasyGraphException
Exception raised by algorithms not implemented for a type of graph.
- exception easygraph.utils.exception.EasyGraphPointlessConcept[source]#
Bases:
EasyGraphException
Raised when a null graph is provided as input to an algorithm that cannot use it.
The null graph is sometimes considered a pointless concept [1], thus the name of the exception.
References
[1]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.