MCPcopy
hub / github.com/django/django / NodeNotFoundError

Class NodeNotFoundError

django/db/migrations/exceptions.py:40–52  ·  view source on GitHub ↗

An attempt on a node is made that is not available in the graph.

Source from the content-addressed store, hash-verified

38
39
40class NodeNotFoundError(LookupError):
41 """An attempt on a node is made that is not available in the graph."""
42
43 def __init__(self, message, node, origin=None):
44 self.message = message
45 self.origin = origin
46 self.node = node
47
48 def __str__(self):
49 return self.message
50
51 def __repr__(self):
52 return "NodeNotFoundError(%r)" % (self.node,)
53
54
55class MigrationSchemaMissing(DatabaseError):

Callers 7

build_graphMethod · 0.85
raise_errorMethod · 0.85
remove_replaced_nodesMethod · 0.85
forwards_planMethod · 0.85
backwards_planMethod · 0.85

Calls

no outgoing calls

Tested by 1