From: Kenneth Reitz Date: Wed, 9 Nov 2011 23:30:47 +0000 (-0800) Subject: new ConnectionError for bad APIs :) X-Git-Tag: v0.8.0~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d2abea94b2323352e18648154a163c96136b689;p=services%2Fpython-requests.git new ConnectionError for bad APIs :) --- diff --git a/requests/exceptions.py b/requests/exceptions.py index 16acd92..d20a95c 100644 --- a/requests/exceptions.py +++ b/requests/exceptions.py @@ -15,8 +15,8 @@ class RequestException(Exception): class HTTPError(RequestException): """An HTTP error occured.""" -class AuthenticationError(RequestException): - """The authentication credentials provided were invalid.""" +class ConnectionError(RequestException): + """A Connection error occured.""" class Timeout(RequestException): """The request timed out."""