File "exceptions.cpython-38.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-38.pyc
File size: 9.79 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit

U

.e@sLddlmZddlmZGdddeZGdddeZGdd	d	eZ	Gd
dde	Z
Gdd
d
eZGdddeZGdddeZ
GdddeZeZGddde
ZGddde
ZGdddeZGdddeZGdddee
ZGdddeZGd d!d!ee	ZGd"d#d#e	ZGd$d%d%e	ZGd&d'd'eeZGd(d)d)eZGd*d+d+eZGd,d-d-eZGd.d/d/eZGd0d1d1eZGd2d3d3eZ Gd4d5d5eZ!Gd6d7d7eZ"Gd8d9d9eZ#Gd:d;d;eeZ$Gd<d=d=eZ%Gd>d?d?eeZGd@dAdAeZ&GdBdCdCe'eZ(GdDdEdEeZ)GdFdGdGeZ*dHS)I)absolute_import)IncompleteReadc@seZdZdZdS)	HTTPErrorz#Base exception used by this module.N__name__
__module____qualname____doc__rrB/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/exceptions.pyrsrc@seZdZdZdS)HTTPWarningz!Base warning used by this module.Nrrrrrr
sr
c@s eZdZdZddZddZdS)	PoolErrorz/Base exception for errors caused within a pool.cCs||_t|d||fdS)Nz%s: %s)poolr__init__)selfrmessagerrrrszPoolError.__init__cCs
|jdfS)N)NN	__class__rrrr
__reduce__szPoolError.__reduce__Nrrr	r
rrrrrrrsrc@s eZdZdZddZddZdS)RequestErrorz8Base exception for PoolErrors that have associated URLs.cCs||_t|||dSN)urlrr)rrrrrrrr szRequestError.__init__cCs|jd|jdffSr)rrrrrrr$szRequestError.__reduce__Nrrrrrrsrc@seZdZdZdS)SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nrrrrrr)src@seZdZdZdS)
ProxyErrorz,Raised when the connection to a proxy fails.Nrrrrrr.src@seZdZdZdS)DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrrrrrr3src@seZdZdZdS)
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrrrrrr8src@seZdZdZdddZdS)
MaxRetryErrora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

    NcCs&||_d||f}t||||dS)Nz0Max retries exceeded with url: %s (Caused by %r))reasonrr)rrrr rrrrrNszMaxRetryError.__init__)Nrrr	r
rrrrrrDs	rc@seZdZdZdddZdS)HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.cCs"d|}t||||||_dS)Nz)Tried to open a foreign host with url: %s)rrretries)rrrr$rrrrrYszHostChangedError.__init__N)r#r!rrrrr"Vsr"c@seZdZdZdS)TimeoutStateErrorz3 Raised when passing an invalid state to a timeout Nrrrrrr%_sr%c@seZdZdZdS)TimeoutErrorz Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    Nrrrrrr&esr&c@seZdZdZdS)ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrrrrrr'osr'c@seZdZdZdS)ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrrrrrr(vsr(c@seZdZdZdS)NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrrrrrr){sr)c@seZdZdZdS)EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrrrrrr*sr*c@seZdZdZdS)ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrrrrrr+sr+c@seZdZdZdS)LocationValueErrorz<Raised when there is something wrong with a given URL input.Nrrrrrr,sr,c@seZdZdZddZdS)LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.cCsd|}t||||_dS)NzFailed to parse: %s)rrlocation)rr.rrrrrszLocationParseError.__init__Nr!rrrrr-sr-c@seZdZdZdZdZdS)
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rrr	r
Z
GENERIC_ERRORZSPECIFIC_ERRORrrrrr/sr/c@seZdZdZdS)SecurityWarningz0Warned when performing security reducing actionsNrrrrrr0sr0c@seZdZdZdS)SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.Nrrrrrr1sr1c@seZdZdZdS)InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nrrrrrr2sr2c@seZdZdZdS)SystemTimeWarningz0Warned when system time is suspected to be wrongNrrrrrr3sr3c@seZdZdZdS)InsecurePlatformWarningzEWarned when certain SSL configuration is not available on a platform.Nrrrrrr4sr4c@seZdZdZdS)SNIMissingWarningz9Warned when making a HTTPS request without SNI available.Nrrrrrr5sr5c@seZdZdZdS)DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    Nrrrrrr6sr6c@seZdZdZdS)ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nrrrrrr7sr7c@seZdZdZdS)BodyNotHttplibCompatiblezz
    Body should be httplib.HTTPResponse like (have an fp attribute which
    returns raw chunks) for read_chunked().
    Nrrrrrr8sr8cs(eZdZdZfddZddZZS)rz
    Response length doesn't match expected Content-Length

    Subclass of http_client.IncompleteRead to allow int value
    for `partial` to avoid creating large objects on streamed
    reads.
    cstt|||dSr)superrr)rpartialexpectedrrrrszIncompleteRead.__init__cCsd|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected))r:r;rrrr__repr__szIncompleteRead.__repr__)rrr	r
rr<
__classcell__rrrrrsrc@seZdZdZdS)
InvalidHeaderz(The header provided was somehow invalid.Nrrrrrr>sr>cs eZdZdZfddZZS)ProxySchemeUnknownz1ProxyManager does not support the supplied schemecsd|}tt||dS)NzNot supported proxy scheme %s)r9r?r)rZschemerrrrrszProxySchemeUnknown.__init__rrr	r
rr=rrrrr?sr?cs eZdZdZfddZZS)HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.cs$d|pd|f}tt||dS)Nz%s, unparsed data: %rZUnknown)r9rAr)rZdefectsZ
unparsed_datarrrrrszHeaderParsingError.__init__r@rrrrrAsrAc@seZdZdZdS)UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNrrrrrrBsrBN)+Z
__future__rZpackages.six.moves.http_clientrZhttplib_IncompleteRead	ExceptionrWarningr
rrrrrrConnectionErrorrr"r%r&r'r(r)r*r+
ValueErrorr,r-r/r0r1r2r3r4r5r6r7r8r>AssertionErrorr?rArBrrrr<module>sH