MCPcopy
hub / github.com/google/python-fire / AddError

Method AddError

fire/trace.py:132–134  ·  view source on GitHub ↗
(self, error, args)

Source from the content-addressed store, hash-verified

130 self.elements.append(element)
131
132 def AddError(self, error, args):
133 element = FireTraceElement(error=error, args=args)
134 self.elements.append(element)
135
136 def AddSeparator(self):
137 """Marks that the most recent element of the trace used a separator.

Callers 2

_FireFunction · 0.95
testFireTraceHasErrorMethod · 0.95

Calls 1

FireTraceElementClass · 0.85

Tested by 1

testFireTraceHasErrorMethod · 0.76