wrap requests exceptions in TwythonError class #232
No reviewers
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This wraps the exceptions raised by the requests library so that they can be handled by the client library that doesn't know about Twython backend.
This looks good. I would change one thing though, I'll comment on that line in a sec.