î œ0{YUã@sDdZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eƒZGd d „d eƒZGd d„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„dee ƒZ Gdd„dee ƒZGdd„dee ƒZGdd„deƒZGdd„deeƒZdS)za requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. é)Ú HTTPErrorcs(eZdZdZ‡fdd†Z‡S)ÚRequestExceptionzOThere was an ambiguous exception that occurred while handling your request.cs„|jddƒ}||_|jddƒ|_|dk rg|j rgt|dƒrg|jj|_ntt|ƒj||ŽdS)zT Initialize RequestException with `request` and `response` objects. ÚresponseNÚrequest)ÚpoprrÚhasattrÚsuperrÚ__init__)ÚselfÚargsÚkwargsr)Ú __class__©ú:/tmp/pip-ok8sy_ze-build/pip/_vendor/requests/exceptions.pyr s zRequestException.__init__)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rr)r rr s rc@seZdZdZdS)rzAn HTTP error occurred.N)rrrrrrrrrs rc@seZdZdZdS)ÚConnectionErrorzA Connection error occurred.N)rrrrrrrrr"s rc@seZdZdZdS)Ú ProxyErrorzA proxy error occurred.N)rrrrrrrrr&s rc@seZdZdZdS)ÚSSLErrorzAn SSL error occurred.N)rrrrrrrrr*s rc@seZdZdZdS)ÚTimeoutzThe request timed out.N)rrrrrrrrr.s rc@seZdZdZdS)Ú URLRequiredz*A valid URL is required to make a request.N)rrrrrrrrr2s rc@seZdZdZdS)ÚTooManyRedirectszToo many redirects.N)rrrrrrrrr6s rc@seZdZdZdS)Ú MissingSchemaz/The URL schema (e.g. http or https) is missing.N)rrrrrrrrr:s rc@seZdZdZdS)Ú InvalidSchemaz"See defaults.py for valid schemas.N)rrrrrrrrr>s rc@seZdZdZdS)Ú InvalidURLz' The URL provided was somehow invalid. N)rrrrrrrrrBs rc@seZdZdZdS)ÚChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.N)rrrrrrrrrFs rc@seZdZdZdS)ÚContentDecodingErrorz!Failed to decode response contentN)rrrrrrrrrJs rN)rZpackages.urllib3.exceptionsrÚ BaseHTTPErrorÚIOErrorrrrrrrrÚ ValueErrorrrrrrrrrrÚ s