'Increase the error count for failed requests.
:param Failure failure: Failure'

def request_failed(self, failure):

    self._error_count += 1
    key = failure.getErrorMessage()
    self._errors[key] = (self._errors.get(key, 0) + 1)
    self._total_errors += 1
