tweepy/ twitter api error type

后端 未结 1 959
予麋鹿
予麋鹿 2021-02-10 06:49

I am using tweepy to make a twitter application. When users tweet/update profile, etc, they will get some errors. I want to classify error and give user more information.

相关标签:
1条回答
  • 2021-02-10 06:58

    Right, it is the only way now. There is only one TweepError exception defined. It's raised throughout the app with different text.

    Here's the relevant open issue on github. So there is a chance that it'll be improved in the future.

    0 讨论(0)
提交回复
热议问题