def performApiCall(self, http_method, path, data=None, params=None):
        body = self.client.performHttpCall(http_method, path, data, params)
        try:
            result = body.json()
        except Exception as e:
            raise Error('Unable to decode Mollie response: "%s".' % body)
        if 'error' in result:
            error = Error('Error executing API call (%s): %s.' % (result['error']['type'], result['error']['message']))
            if result['error'] in 'field':
                error.field = result['error']['field']
            raise error
        return result
dataset/ETHPy150Open mollie/mollie-api-python/Mollie/API/Resource/Base.py/Base.performApiCall/swapped operands of `in`