љ~Լz d Z ddlmZ ddlmZ G d de Z G d de Z G d d e e Z G d de Z G d de Z G d de Z G d de Z G d de Z G d de e Z G d de Z G d de Z G d de Z G d dee Z G d d ee Z G d! d"ee Z G d# d$ee Z G d% d&e Z G d' d(e Z G d) d*ee Z G d+ d,ee Z G d- d.e Z G d/ d0e Z G d1 d2e Z G d3 d4ee Z! G d5 d6e Z"d7S )8z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. ) HTTPError )JSONDecodeErrorc " e Zd ZdZ fdZ xZS )RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c | dd }|| _ | dd | _ |(| j s!t |d r| j j | _ t j |i | dS )zBInitialize RequestException with `request` and `response` objects.responseNrequest)popr r hasattrsuper__init__)selfargskwargsr __class__s e/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/requests/exceptions.pyr zRequestException.__init__ s| ::j$// zz)T2299U9U=0DL$)&))))) )__name__ __module____qualname____doc__r __classcell__)r s @r r r sB * * * * * * * * *r r c e Zd ZdZdS )InvalidJSONErrorzA JSON error occurred.Nr r r r r r r r r r c e Zd ZdZd ZdS )r z"Couldn't decode the text into jsonc ^ t j | g|R t j | g| j R i | 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)CompatJSONDecodeErrorr r r )r r r s r r zJSONDecodeError.__init__" sF &t3d3333!$====f=====r N)r r r r r r r r r r s) ,,> > > > >r r c e Zd ZdZdS )r zAn HTTP error occurred.Nr r r r r r - !!!!r r c e Zd ZdZdS )ConnectionErrorzA Connection error occurred.Nr r r r r% r% 1 s &&&&r r% c e Zd ZdZdS ) ProxyErrorzA proxy error occurred.Nr r r r r' r' 5 r# r r' c e Zd ZdZdS )SSLErrorzAn SSL error occurred.Nr r r r r) r) 9 r r r) c e Zd ZdZdS )TimeoutzThe request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nr r r r r+ r+ = s r r+ c e Zd ZdZdS )ConnectTimeoutzThe request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nr r r r r- r- F s r r- c e Zd ZdZdS )ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr r r r r/ r/ M JJJJr r/ c e Zd ZdZdS )URLRequiredz*A valid URL is required to make a request.Nr r r r r2 r2 Q s 4444r r2 c e Zd ZdZdS )TooManyRedirectszToo many redirects.Nr r r r r4 r4 U s r r4 c e Zd ZdZdS ) MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nr r r r r6 r6 Y s 9999r r6 c e Zd ZdZdS ) InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nr r r r r8 r8 ] s CCCCr r8 c e Zd ZdZdS ) InvalidURLz%The URL provided was somehow invalid.Nr r r r r: r: a s ////r r: c e Zd ZdZdS ) InvalidHeaderz.The header value provided was somehow invalid.Nr r r r r<