Module pywander.algorithm.graph.exceptions
Classes
class AdditionError (*args, **kwargs)-
Expand source code
class AdditionError(GraphError): """ This error is raised when trying to add a node or edge already added to the graph or digraph. """ passThis error is raised when trying to add a node or edge already added to the graph or digraph.
Ancestors
- GraphError
- builtins.Exception
- builtins.BaseException
class GraphError (*args, **kwargs)-
Expand source code
class GraphError(Exception): """ A base-class for the various kinds of errors that occur in the the graph class. """ passA base-class for the various kinds of errors that occur in the the graph class.
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class NotAcyclicError (*args, **kwargs)-
Expand source code
class NotAcyclicError(GraphError): """ not acyclic graph error """ passnot acyclic graph error
Ancestors
- GraphError
- builtins.Exception
- builtins.BaseException