def __str__(self):
        formatted_string = "%s (HTTP %s)" % (self.message, self.code)
        if self.request_id:
            formatted_string += " (Request-ID: %s)" % self.request_id

        return formatted_string
dataset/ETHPy150Open kwminnick/rackspace-dns-cli/dnsclient/exceptions.py/ClientException.__str__/original