code: def error_future(self):
          
          fut = asyncio.Future(loop=self._loop)
          self._error_futures.append(fut)
          return fut
docs: Return a future which will receive the next XML stream error as
          exception.
  
          It is safe to cancel the future at any time.