class_docstr: A FireTraceElement represents a single step taken by a Fire execution.
  
  Examples of a FireTraceElement are the instantiation of a class or the
  accessing of an object member.
class_docstr_tok: ["A","FireTraceElement","represents","a","single","step","taken","by","a","Fire","execution",".","Examples","of","a","FireTraceElement","are","the","instantiation","of","a","class","or","the","accessing","of","an","object","member","."]
code: def __str__(self):
      if self.HasError():
          return self.ErrorAsStr()
      else:
          # Format is: {action} "{target}" ({filename}:{lineno})
          string = self._action
          if self._target is not None:
              string += ' "{target}"'.format(target=self._target)
          if self._filename is not None:
              path = self._filename
              if self._lineno is not None:
                  path += ":{lineno}".format(lineno=self._lineno)
  
              string += " ({path})".format(path=path)
          return string
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import pipes
  from fire import inspectutils
label_desc: Use image node_id 7 for calling the FireTraceElement obj's underlying member method code with example usage: obj.__str__() and returns: self, string