8fdZddlmZddlmZGddeZGddeZ Gd d e eZGd d eZGd deZ Gdde Z Gdde Z GddeZ Gdde e ZGdde ZGddeZGddeZGddeeZGdd eeZGd!d"eeZGd#d$eeZGd%d&eZGd'd(eZGd)d*eeZGd+d,eeZGd-d.eZGd/d0eZGd1d2eZGd3d4ee Z!Gd5d6eZ"d7S)8z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. ) HTTPError)JSONDecodeErrorc"eZdZdZfdZxZS)RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c|dd}||_|dd|_|(|js!t|dr|jj|_t j|i|dS)zBInitialize RequestException with `request` and `response` objects.responseNrequest)popr r hasattrsuper__init__)selfargskwargsr __class__s /builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/requests/exceptions.pyrzRequestException.__init__s|::j$//  zz)T22   99U9U =0DL$)&))))))__name__ __module__ __qualname____doc__r __classcell__)rs@rrr sB*********rrceZdZdZdS)InvalidJSONErrorzA JSON error occurred.Nrrrrrrrr    rrceZdZdZdZdZdS)rz"Couldn't decode the text into jsonc^tj|g|Rtj|g|jRi|dS)a Construct the JSONDecodeError instance first with all args. Then use it's args to construct the IOError so that the json specific args aren't used as IOError specific args and the error message from JSONDecodeError is preserved. N)CompatJSONDecodeErrorrrr)rrrs rrzJSONDecodeError.__init__"sF &t3d3333!$====f=====rc*tj|S)aa The __reduce__ method called when pickling the object must be the one from the JSONDecodeError (be it json/simplejson) as it expects all the arguments for instantiation, not just one like the IOError, and the MRO would by default call the __reduce__ method from the IOError due to the inheritance order. )r! __reduce__)rs rr#zJSONDecodeError.__reduce__,s%/555rN)rrrrrr#rrrrrs8,,>>>66666rrceZdZdZdS)rzAn HTTP error occurred.Nrrrrrr7!!!!rrceZdZdZdS)ConnectionErrorzA Connection error occurred.Nrrrrr'r';s&&&&rr'ceZdZdZdS) ProxyErrorzA proxy error occurred.Nrrrrr)r)?r%rr)ceZdZdZdS)SSLErrorzAn SSL error occurred.Nrrrrr+r+Crrr+ceZdZdZdS)TimeoutzThe request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nrrrrr-r-Gsrr-ceZdZdZdS)ConnectTimeoutzThe request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nrrrrr/r/Psrr/ceZdZdZdS) ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrr1r1WJJJJrr1ceZdZdZdS) URLRequiredz*A valid URL is required to make a request.Nrrrrr4r4[s4444rr4ceZdZdZdS)TooManyRedirectszToo many redirects.Nrrrrr6r6_srr6ceZdZdZdS) MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nrrrrr8r8cs9999rr8ceZdZdZdS) InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nrrrrr:r:gsCCCCrr:ceZdZdZdS) InvalidURLz%The URL provided was somehow invalid.Nrrrrr<r<ks////rr<ceZdZdZdS) InvalidHeaderz.The header value provided was somehow invalid.Nrrrrr>r>os8888rr>ceZdZdZdS)InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrr@r@s,,,,rr@ceZdZdZdS)ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.NrrrrrCrCwsIIIIrrCceZdZdZdS)ContentDecodingErrorz"Failed to decode response content.NrrrrrErE{rArrEceZdZdZdS)StreamConsumedErrorz3The content for this response was already consumed.NrrrrrGrGs====rrGceZdZdZdS) RetryErrorzCustom retries logic failedNrrrrrIrIs%%%%rrIceZdZdZdS)UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.NrrrrrKrKsEEEErrKceZdZdZdS)RequestsWarningzBase warning for Requests.NrrrrrMrMs$$$$rrMceZdZdZdS)FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.NrrrrrOrOsTTTTrrOceZdZdZdS)RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.NrrrrrQrQr2rrQN)#rpip._vendor.urllib3.exceptionsr BaseHTTPErrorcompatrr!IOErrorrrr'r)r+r-r/r1r4r6 ValueErrorr8r:r<r>r@rCrE TypeErrorrGrIrKWarningrMDeprecationWarningrOrQrrrrZs FEEEEE<<<<<< * * * * *w * * *!!!!!'!!!66666&(=6660""""" """'''''&'''""""""""!!!!!!!!_gKKKKK'KKK55555"555':::::$j:::DDDDD$jDDD00000!:00099999$j999-----j---JJJJJ+JJJ-----+]--->>>>>*I>>>&&&&&!&&&FFFFF,FFF%%%%%g%%%UUUUUo'9UUUKKKKKKKKKKr