From b21712a3819b84ae97598d5fb30d435b784adca2 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 3 Feb 2019 17:03:27 -0600 Subject: [PATCH] Update API reference link for response codes in documentation --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 76fbe40..555f393 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -823,7 +823,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 - `_) can be accessed + `_) can be accessed at ``TweepError.response.text``. Note, however, that ``TweepError``\ s also may be raised with other things as message (for example plain error reason strings). -- 2.25.1