From b1b2c0d0997ac29b775f001f632e3327ce86509b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 27 Nov 2015 17:03:36 -0500 Subject: Add LoginFailure exception for a clearer failure in Client.login The older HTTPException is not exactly the clearest thing for people who are new to programming or HTTP exceptions in general. --- docs/api.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/api.rst b/docs/api.rst index f7fcbc8f..3463e2f8 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -311,6 +311,8 @@ The following exceptions are thrown by the library. .. autoexception:: ClientException +.. autoexception:: LoginFailure + .. autoexception:: HTTPException :members: -- cgit v1.2.3