在代码中我有这个错误
raise ClientError(response_data['data']['error'], response.status_code)
ClientError: (300) corrupt or not supported.
如何捕捉错误300?你知道吗
try:
somestuff
except ClientError:
if error = 300: # ?????
print 'catched'
else:
just end the program
谢谢你的帮助。你知道吗
Tags:
相关问题 更多 >
编程相关推荐