CycleError#

class causalbase.exceptions.CycleError[source]#

An edge would close a directed cycle, or a graph that must be acyclic is not.

Also a ValueError. Importable from causalbase.graph too.