code: def errored(self):
      spawn = self.spawn
      spawn.before = spawn._before.getvalue()
      spawn.after = None
      spawn.match = None
      spawn.match_index = None
  
imports: import time
  from .exceptions import EOF, TIMEOUT
label_desc: Use image node_id 7 for calling the Expecter obj's underlying member method code with example usage: obj.errored() without return types