๎ œ0{Y$ ใ@sjGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eƒZGdd„deƒZGdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„de eƒZ Gdd„de ƒZ Gdd„deƒZGdd„deƒZGdd„deeƒZd S)!c@seZdZdZdS)ฺ HTTPErrorz#Base exception used by this module.N)ฺ__name__ฺ __module__ฺ __qualname__ฺ__doc__ฉrr๚K/tmp/pip-ok8sy_ze-build/pip/_vendor/requests/packages/urllib3/exceptions.pyr s rc@s.eZdZdZdd„Zdd„ZdS)ฺ PoolErrorz/Base exception for errors caused within a pool.cCs'||_tj|d||fƒdS)Nz%s: %s)ฺpoolrฺ__init__)ฺselfr ฺmessagerrrr s zPoolError.__init__cCs |jdfS)N)NN)ฺ __class__)r rrrฺ __reduce__szPoolError.__reduce__N)rrrrr rrrrrrs  rc@s.eZdZdZdd„Zdd„ZdS)ฺ RequestErrorz8Base exception for PoolErrors that have associated URLs.cCs ||_tj|||ƒdS)N)ฺurlrr )r r rr rrrr s zRequestError.__init__cCs|jd|jdffS)N)r r)r rrrr szRequestError.__reduce__N)rrrrr rrrrrrs  rc@seZdZdZdS)ฺSSLErrorz9Raised when SSL certificate fails in an HTTPS connection.N)rrrrrrrrr%s rc@seZdZdZdS)ฺ ProxyErrorz,Raised when the connection to a proxy fails.N)rrrrrrrrr*s rc@seZdZdZdS)ฺConnectionErrorz&Raised when a normal connection fails.N)rrrrrrrrr/s rc@seZdZdZdS)ฺ DecodeErrorz;Raised when automatic decoding based on Content-Type fails.N)rrrrrrrrr4s rc@s%eZdZdZddd„ZdS)ฺ MaxRetryErrorz6Raised when the maximum number of retries is exceeded.NcCsZ||_d|}|r6|dt|ƒ|f7}n |d7}tj||||ƒdS)Nz!Max retries exceeded with url: %sz (Caused by %s: %s)z (Caused by redirect))ฺreasonฺtyperr )r r rrr rrrr >s    zMaxRetryError.__init__)rrrrr rrrrr;s rc@s%eZdZdZddd„ZdS)ฺHostChangedErrorz?Raised when an existing pool gets a request for a foreign host.้cCs-d|}tj||||ƒ||_dS)Nz)Tried to open a foreign host with url: %s)rr ฺretries)r r rrr rrrr Ms zHostChangedError.__init__N)rrrrr rrrrrJs rc@seZdZdZdS)ฺTimeoutStateErrorz3 Raised when passing an invalid state to a timeout N)rrrrrrrrrSs rc@seZdZdZdS)ฺ TimeoutErrorzภ Raised when a socket timeout error occurs. Catching this error will catch both :exc:`ReadTimeoutErrors ` and :exc:`ConnectTimeoutErrors `. N)rrrrrrrrrXs rc@seZdZdZdS)ฺReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverN)rrrrrrrrras rc@seZdZdZdS)ฺConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverN)rrrrrrrrrhs rc@seZdZdZdS)ฺEmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.N)rrrrrrrrrms rc@seZdZdZdS)ฺClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.N)rrrrrrrrr rs r c@s"eZdZdZdd„ZdS)ฺLocationParseErrorz=Raised when get_host or similar fails to parse the URL input.cCs'd|}tj||ƒ||_dS)NzFailed to parse: %s)rr ฺlocation)r r"r rrrr zs zLocationParseError.__init__N)rrrrr rrrrr!ws r!N)ฺ Exceptionrrrrrrrrrrrrrrr ฺ ValueErrorr!rrrrฺ s