An attempt on a node is made that is not available in the graph.
| 38 | |
| 39 | |
| 40 | class 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 | |
| 55 | class MigrationSchemaMissing(DatabaseError): |
no outgoing calls