Unverified Commit d975b6eb authored by Joshua Roesslein's avatar Joshua Roesslein Committed by GitHub
Browse files

Merge pull request #1001 from fefzero/master

Update api.rst to show error message
parents 8373a0ab fd0220e7
......@@ -803,7 +803,7 @@ example, ``tweepy.error.TweepError`` is available as ``tweepy.TweepError``.
When a ``TweepError`` is raised due to an error Twitter responded with,
the error code (`as described in the API documentation
<https://dev.twitter.com/overview/api/response-codes>`_) can be accessed
at ``TweepError.message[0]['code']``. Note, however, that ``TweepError``\ s
at ``TweepError.response.text``. Note, however, that ``TweepError``\ s
also may be raised with other things as message (for example plain
error reason strings).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment