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

Method HasError

fire/trace.py:80–82  ·  view source on GitHub ↗

Returns whether the Fire execution encountered a Fire usage error.

(self)

Source from the content-addressed store, hash-verified

78 return self.elements[0] # The initial element is always healthy.
79
80 def HasError(self):
81 """Returns whether the Fire execution encountered a Fire usage error."""
82 return self.elements[-1].HasError()
83
84 def AddAccessedProperty(self, component, target, args, filename, lineno):
85 element = FireTraceElement(

Callers 4

testFireTraceHasErrorMethod · 0.95
FireFunction · 0.45
GetLastHealthyElementMethod · 0.45
GetCommandMethod · 0.45

Calls

no outgoing calls

Tested by 1

testFireTraceHasErrorMethod · 0.76