<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _match_errors_queues(self, query):
 """Tries to match in error queues :param query: message tuple :type query: Tuple[bytes] :return: response if found or None :rtype: Tuple[bytes] | None """

        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