def __str__(self):
if self.response and not isinstance(self.response, dict):<EOL><INDENT>return "<STR_LIT>""<STR_LIT>".format(self.code, self.message, self.response.content)<EOL><DEDENT>return "<STR_LIT>""<STR_LIT>".format(self.code, self.message, self.response)<EOL>
Exception to String