def __unicode__(self):
        symbol = self.symbol
        if symbol is None:
            return self.error
        details = self.details
        if details is not None:
            return six.u('%s: %s %s') % (symbol, self.message, details)
        return six.u('%s: %s') % (symbol, self.message)
dataset/ETHPy150Open recurly/recurly-client-python/recurly/errors.py/ResponseError.__unicode__/original