def request(self, path, api='current', method='GET', params={}, headers=None, body=None):
    response = self.fetch2(path, api, method, params, headers, body)
    if (not isinstance(response, basestring)):
        if ('errors' in response):
            raise ExchangeError(((self.id + ' ') + self.json(response)))
    return response
def request(self, path, api='current', method='GET', params={}, headers=None, body=None):
    response = self.fetch2(path, api, method, params, headers, body)
    if (not isinstance(response, basestring)):
        if ('errors' in response):
            raise ExchangeError(((self.id + ' ') + self.json(response)))
    return response