bgdZddlmZddlmZGddeZGddeZ 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 J/opt/cloudlinux/venv/lib64/python3.11/site-packages/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    rrceZdZdZdZdS)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=====rN)rrrrrrrrrrs),,>>>>>rrceZdZdZdS)rzAn HTTP error occurred.Nrrrrrr-!!!!rrceZdZdZdS)ConnectionErrorzA Connection error occurred.Nrrrrr%r%1s&&&&rr%ceZdZdZdS) ProxyErrorzA proxy error occurred.Nrrrrr'r'5r#rr'ceZdZdZdS)SSLErrorzAn SSL error occurred.Nrrrrr)r)9rrr)ceZdZdZdS)TimeoutzThe request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nrrrrr+r+=srr+ceZdZdZdS)ConnectTimeoutzThe request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nrrrrr-r-Fsrr-ceZdZdZdS) ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrr/r/MJJJJrr/ceZdZdZdS) URLRequiredz*A valid URL is required to make a request.Nrrrrr2r2Qs4444rr2ceZdZdZdS)TooManyRedirectszToo many redirects.Nrrrrr4r4Usrr4ceZdZdZdS) MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nrrrrr6r6Ys9999rr6ceZdZdZdS) InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nrrrrr8r8]sCCCCrr8ceZdZdZdS) InvalidURLz%The URL provided was somehow invalid.Nrrrrr:r:as////rr:ceZdZdZdS) InvalidHeaderz.The header value provided was somehow invalid.Nrrrrr<r<es8888rr<ceZdZdZdS)InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrr>r>i,,,,rr>ceZdZdZdS)ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.NrrrrrArAmsIIIIrrAceZdZdZdS)ContentDecodingErrorz"Failed to decode response content.NrrrrrCrCqr?rrCceZdZdZdS)StreamConsumedErrorz3The content for this response was already consumed.NrrrrrErEus====rrEceZdZdZdS) RetryErrorzCustom retries logic failedNrrrrrGrGys%%%%rrGceZdZdZdS)UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.NrrrrrIrI}sEEEErrIceZdZdZdS)RequestsWarningzBase warning for Requests.NrrrrrKrKs$$$$rrKceZdZdZdS)FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.NrrrrrMrMsTTTTrrMceZdZdZdS)RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.NrrrrrOrOr0rrON)#rurllib3.exceptionsr BaseHTTPErrorcompatrr!IOErrorrrr%r'r)r+r-r/r2r4 ValueErrorr6r8r:r<r>rArC TypeErrorrErGrIWarningrKDeprecationWarningrMrOrrrrXs :99999<<<<<< * * * * *w * * *!!!!!'!!! > > > > >&(= > > >""""" """'''''&'''""""""""!!!!!!!!_gKKKKK'KKK55555"555':::::$j:::DDDDD$jDDD00000!:00099999$j999-----j---JJJJJ+JJJ-----+]--->>>>>*I>>>&&&&&!&&&FFFFF,FFF%%%%%g%%%UUUUUo'9UUUKKKKKKKKKKr