Current File : //lib/python2.7/site-packages/urllib3/exceptions.pyc
�
��Tc@s�defd��YZdefd��YZdefd��YZdefd��YZdefd	��YZd
efd��YZdefd
��YZdefd��YZ	e	Z
defd��YZdefd��YZdefd��YZ
defd��YZdeefd��YZdefd��YZdefd��YZdefd��YZd eefd!��YZd"efd#��YZd$efd%��YZd&efd'��YZd(efd)��YZd*efd+��YZd,S(-t	HTTPErrorcBseZdZRS(s#Base exception used by this module.(t__name__t
__module__t__doc__(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRstHTTPWarningcBseZdZRS(s!Base warning used by this module.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRst	PoolErrorcBs eZdZd�Zd�ZRS(s/Base exception for errors caused within a pool.cCs'||_tj|d||f�dS(Ns%s: %s(tpoolRt__init__(tselfRtmessage((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRs	cCs
|jdfS(N(NN(t	__class__tNone(R((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyt
__reduce__s(RRRRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRs	tRequestErrorcBs eZdZd�Zd�ZRS(s8Base exception for PoolErrors that have associated URLs.cCs ||_tj|||�dS(N(turlRR(RRRR	((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRs	cCs|jd|jdffS(N(R
RR(R((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRs(RRRRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR
s	tSSLErrorcBseZdZRS(s9Raised when SSL certificate fails in an HTTPS connection.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR$st
ProxyErrorcBseZdZRS(s,Raised when the connection to a proxy fails.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR)stDecodeErrorcBseZdZRS(s;Raised when automatic decoding based on Content-Type fails.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR.st
ProtocolErrorcBseZdZRS(s>Raised when something unexpected happens mid-request/response.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR3st
MaxRetryErrorcBseZdZdd�ZRS(sRaised when the maximum number of retries is exceeded.

    :param pool: The connection pool
    :type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
    :param string url: The requested Url
    :param exceptions.Exception reason: The underlying error

    cCs3||_d||f}tj||||�dS(Ns0Max retries exceeded with url: %s (Caused by %r)(treasonR
R(RRRRR	((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRHs	
N(RRRRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR>stHostChangedErrorcBseZdZdd�ZRS(s?Raised when an existing pool gets a request for a foreign host.icCs-d|}tj||||�||_dS(Ns)Tried to open a foreign host with url: %s(R
Rtretries(RRRRR	((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRTs
(RRRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRQstTimeoutStateErrorcBseZdZRS(s3 Raised when passing an invalid state to a timeout (RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRZstTimeoutErrorcBseZdZRS(s� Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    (RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR_stReadTimeoutErrorcBseZdZRS(sFRaised when a socket timeout occurs while receiving data from a server(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRhstConnectTimeoutErrorcBseZdZRS(s@Raised when a socket timeout occurs while connecting to a server(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRostEmptyPoolErrorcBseZdZRS(sCRaised when a pool runs out of connections and no more are allowed.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRtstClosedPoolErrorcBseZdZRS(sCRaised when a request enters a pool after the pool has been closed.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyRystLocationValueErrorcBseZdZRS(s<Raised when there is something wrong with a given URL input.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR~stLocationParseErrorcBseZdZd�ZRS(s=Raised when get_host or similar fails to parse the URL input.cCs'd|}tj||�||_dS(NsFailed to parse: %s(RRtlocation(RRR	((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR�s
(RRRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR�st
ResponseErrorcBseZdZdZdZRS(sDUsed as a container for an error reason supplied in a MaxRetryError.stoo many error responsess&too many {status_code} error responses(RRRt
GENERIC_ERRORtSPECIFIC_ERROR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR �stSecurityWarningcBseZdZRS(s/Warned when perfoming security reducing actions(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR#�stInsecureRequestWarningcBseZdZRS(s/Warned when making an unverified HTTPS request.(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR$�stSystemTimeWarningcBseZdZRS(s0Warned when system time is suspected to be wrong(RRR(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyR%�sN(t	ExceptionRtWarningRRR
RRRRtConnectionErrorRRRRRRRRt
ValueErrorRRR R#R$R%(((s6/usr/lib/python2.7/site-packages/urllib3/exceptions.pyt<module>s,