def get_cache_returns(self, jid):
        ret = {}

        try:
            data = self.returners['{0}.get_jid'.format(self.opts['master_job_cache'])](jid)
        except Exception as exc:
            raise SaltClientError('Could not examine master job cache. '
                                  'Error occured in {0} returner. '
                                  'Exception details: {1}'.format(self.opts['master_job_cache'],
                                                                  exc))
        for minion in data:
            m_data = {}
            if u'return' in data[minion]:
                m_data['ret'] = data[minion].get(u'return')
            else:
                m_data['ret'] = data[minion].get('return')
            if 'out' in data[minion]:
                m_data['out'] = data[minion]['out']
            if minion in ret:
                ret[minion].update(m_data)
            else:
                ret[minion] = m_data

        return ret
_get_type_name(KeyError) -> 'exceptions.KeyError'
dataset/ETHPy150Open saltstack/salt/salt/client/__init__.py/LocalClient.get_cache_returns--crossover with--dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/voodoo/gen/util.py/_get_type_name