code: def _raiseFindFailed(self, pattern):
          
          event = FindFailedEvent(self, pattern=pattern, event_type="FINDFAILED")
  
          if self._findFailedHandler is not None:
              self._findFailedHandler(event)
          response = (event._response or self._findFailedResponse)
          if response == "PROMPT":
              response = _findFailedPrompt(pattern)
  
          if response == "ABORT":
              raise FindFailed(event)
          elif response == "SKIP":
              return False
          elif response == "RETRY":
              return True
docs: Builds a FindFailed event and triggers the default handler (or the custom handler,
          if one has been specified). Returns True if throwing method should retry, False if it
          should skip, and throws an exception if it should abort.