MCPcopy Create free account
hub / github.com/nodejs/node / CycleError

Class CycleError

tools/gyp/pylib/gyp/common.py:650–657  ·  view source on GitHub ↗

An exception raised when an unexpected cycle is detected.

Source from the content-addressed store, hash-verified

648
649
650class CycleError(Exception):
651 """An exception raised when an unexpected cycle is detected."""
652
653 def __init__(self, nodes):
654 self.nodes = nodes
655
656 def __str__(self):
657 return "CycleError: cycle involving: " + str(self.nodes)
658
659
660def TopologicallySorted(graph, get_edges):

Callers 1

VisitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected