zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
U
I=®de ã@s”dZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd    d
„d
eƒZGd d „d eƒZGd d„deƒZ    Gdd„dee    ƒZ
Gdd„de    ƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deeƒZGdd„deeƒZGdd„deeƒZGdd„deeƒZGdd „d eƒZGd!d"„d"eƒZGd#d$„d$eeƒZGd%d&„d&eeƒZGd'd(„d(eƒZGd)d*„d*eƒZGd+d,„d,eƒZGd-d.„d.eeƒZGd/d0„d0eƒZd1S)2z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~
 
This module contains the set of Requests' exceptions.
é)Ú    HTTPErrorcs eZdZdZ‡fdd„Z‡ZS)ÚRequestExceptionzTThere was an ambiguous exception that occurred while handling your
    request.
    csX| dd¡}||_| dd¡|_|dk    rB|jsBt|dƒrB|jj|_tt|ƒj||ŽdS)zBInitialize RequestException with `request` and `response` objects.ÚresponseNÚrequest)ÚpoprrÚhasattrÚsuperrÚ__init__)ÚselfÚargsÚkwargsr©Ú    __class__©úVD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_vendor/requests/exceptions.pyr    s ÿ
zRequestException.__init__)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r    Ú __classcell__rrr rr src@seZdZdZdS)rzAn HTTP error occurred.N©rrrrrrrrrsrc@seZdZdZdS)ÚConnectionErrorzA Connection error occurred.Nrrrrrr src@seZdZdZdS)Ú
ProxyErrorzA proxy error occurred.Nrrrrrr$src@seZdZdZdS)ÚSSLErrorzAn SSL error occurred.Nrrrrrr(src@seZdZdZdS)ÚTimeoutz«The request timed out.
 
    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    Nrrrrrr,src@seZdZdZdS)ÚConnectTimeoutz‚The request timed out while trying to connect to the remote server.
 
    Requests that produced this error are safe to retry.
    Nrrrrrr5src@seZdZdZdS)Ú ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrrr<src@seZdZdZdS)Ú URLRequiredz*A valid URL is required to make a request.Nrrrrrr@src@seZdZdZdS)ÚTooManyRedirectszToo many redirects.NrrrrrrDsrc@seZdZdZdS)Ú MissingSchemaz/The URL schema (e.g. http or https) is missing.NrrrrrrHsrc@seZdZdZdS)Ú InvalidSchemaz"See defaults.py for valid schemas.Nrrrrrr Lsr c@seZdZdZdS)Ú
InvalidURLz%The URL provided was somehow invalid.Nrrrrrr!Psr!c@seZdZdZdS)Ú InvalidHeaderz.The header value provided was somehow invalid.Nrrrrrr"Tsr"c@seZdZdZdS)ÚInvalidProxyURLz"The proxy URL provided is invalid.Nrrrrrr#Xsr#c@seZdZdZdS)ÚChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nrrrrrr$\sr$c@seZdZdZdS)ÚContentDecodingErrorz"Failed to decode response content.Nrrrrrr%`sr%c@seZdZdZdS)ÚStreamConsumedErrorz3The content for this response was already consumed.Nrrrrrr&dsr&c@seZdZdZdS)Ú
RetryErrorzCustom retries logic failedNrrrrrr'hsr'c@seZdZdZdS)ÚUnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.Nrrrrrr(lsr(c@seZdZdZdS)ÚRequestsWarningzBase warning for Requests.Nrrrrrr)rsr)c@seZdZdZdS)ÚFileModeWarningzJA file was opened in text mode, but Requests determined its binary length.Nrrrrrr*vsr*c@seZdZdZdS)ÚRequestsDependencyWarningz@An imported dependency doesn't match the expected version range.Nrrrrrr+zsr+N)rZpip._vendor.urllib3.exceptionsrÚ BaseHTTPErrorÚIOErrorrrrrrrrrrÚ
ValueErrorrr r!r"r#r$r%Ú    TypeErrorr&r'r(ÚWarningr)ÚDeprecationWarningr*r+rrrrÚ<module>s0