code: def _match_errors_queues(self, query):
          
          if query in self._error_queues:
              queue = self._error_queues[query]
              response = queue.value
              logger.debug('Found response in error queue: %s',
                           repr(response))
  
              return response
docs: Tries to match in error queues
  
          :param query: message tuple
          :type query: Tuple[bytes]
          :return: response if found or None
          :rtype: Tuple[bytes] | None