Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
wiperf / usr / local / lib / python3.7 / dist-packages / requests / __pycache__ / exceptions.cpython-37.pyc
Size: Mime:
B

%ÑMAv§Áã@s”dZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd	d
„d
eƒZGdd„deƒZGd
d„deƒZ	Gdd„dee	ƒZ
Gdd„de	ƒZGdd„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__©ú9/tmp/pip-install-z4i6eiy2/requests/requests/exceptions.pyr	s

zRequestException.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	Ú
__classcell__rr)r
rrsrc@seZdZdZdS)rzAn HTTP error occurred.N)rrrrrrrrrsrc@seZdZdZdS)ÚConnectionErrorzA Connection error occurred.N)rrrrrrrrr src@seZdZdZdS)Ú
ProxyErrorzA proxy error occurred.N)rrrrrrrrr$src@seZdZdZdS)ÚSSLErrorzAn SSL error occurred.N)rrrrrrrrr(src@seZdZdZdS)ÚTimeoutz«The request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    N)rrrrrrrrr,src@seZdZdZdS)ÚConnectTimeoutz‚The request timed out while trying to connect to the remote server.

    Requests that produced this error are safe to retry.
    N)rrrrrrrrr5src@seZdZdZdS)ÚReadTimeoutz@The server did not send any data in the allotted amount of time.N)rrrrrrrrr<src@seZdZdZdS)ÚURLRequiredz*A valid URL is required to make a request.N)rrrrrrrrr@src@seZdZdZdS)ÚTooManyRedirectszToo many redirects.N)rrrrrrrrrDsrc@seZdZdZdS)Ú
MissingSchemaz/The URL schema (e.g. http or https) is missing.N)rrrrrrrrrHsrc@seZdZdZdS)Ú
InvalidSchemaz"See defaults.py for valid schemas.N)rrrrrrrrrLsrc@seZdZdZdS)Ú
InvalidURLz%The URL provided was somehow invalid.N)rrrrrrrrrPsrc@seZdZdZdS)Ú
InvalidHeaderz.The header value provided was somehow invalid.N)rrrrrrrrr Tsr c@seZdZdZdS)ÚInvalidProxyURLz"The proxy URL provided is invalid.N)rrrrrrrrr!Xsr!c@seZdZdZdS)ÚChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.N)rrrrrrrrr"\sr"c@seZdZdZdS)ÚContentDecodingErrorz"Failed to decode response content.N)rrrrrrrrr#`sr#c@seZdZdZdS)ÚStreamConsumedErrorz3The content for this response was already consumed.N)rrrrrrrrr$dsr$c@seZdZdZdS)Ú
RetryErrorzCustom retries logic failedN)rrrrrrrrr%hsr%c@seZdZdZdS)ÚUnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.N)rrrrrrrrr&lsr&c@seZdZdZdS)ÚRequestsWarningzBase warning for Requests.N)rrrrrrrrr'rsr'c@seZdZdZdS)ÚFileModeWarningzJA file was opened in text mode, but Requests determined its binary length.N)rrrrrrrrr(vsr(c@seZdZdZdS)ÚRequestsDependencyWarningz@An imported dependency doesn't match the expected version range.N)rrrrrrrrr)zsr)N)rZurllib3.exceptionsrÚ
BaseHTTPErrorÚIOErrorrrrrrrrrrÚ
ValueErrorrrrr r!r"r#Ú	TypeErrorr$r%r&ÚWarningr'ÚDeprecationWarningr(r)rrrrÚ<module>s0