� ��^i� ����dZddlmZGd�de��ZGd�de��ZGd�de��ZGd �d e��ZGd �d e��ZGd �de��Z Gd�de��Z Gd�dee ��Z Gd�de ��Z Gd�de��Z Gd�de��ZGd�dee��ZGd�dee��ZGd�dee��ZGd�d ee��ZGd!�d"e��ZGd#�d$e��ZGd%�d&ee��ZGd'�d(ee��ZGd)�d*e��ZGd+�d,e��ZGd-�d.e��ZGd/�d0ee��ZGd1�d2e��Zd3S)4z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. �)� HTTPErrorc�"��eZdZdZ�fd�Z�xZS)�RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c� ��|�dd��}||_|�dd��|_|�(|js!t|d��r|jj|_t t |��j|i|��dS)zBInitialize RequestException with `request` and `response` objects.�responseN�request)�poprr�hasattr�superr�__init__)�self�args�kwargsr� __class__s ���/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/requests/exceptions.pyr zRequestException.__init__s�����:�:�j�$�/�/�� �� ��z�z�)�T�2�2�� � � ��� ���)�,�,� !��=�0�D�L�.����%�%�.��?��?�?�?�?�?�)�__name__� __module__� __qualname__�__doc__r � __classcell__)rs@rrr sK���������@�@�@�@�@�@�@�@�@rrc��eZdZdZdS)�InvalidJSONErrorzA JSON error occurred.N�rrrr�rrrr������� � � � rrc��eZdZdZdS)rzAn HTTP error occurred.Nrrrrrr �������!�!�!�!rrc��eZdZdZdS)�ConnectionErrorzA Connection error occurred.Nrrrrr r $s������&�&�&�&rr c��eZdZdZdS)� ProxyErrorzA proxy error occurred.Nrrrrr"r"(rrr"c��eZdZdZdS)�SSLErrorzAn SSL error occurred.Nrrrrr$r$,rrr$c��eZdZdZdS)�Timeoutz�The request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nrrrrr&r&0s���������rr&c��eZdZdZdS)�ConnectTimeoutz�The request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nrrrrr(r(9s���������rr(c��eZdZdZdS)� ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrr*r*@�������J�J�J�Jrr*c��eZdZdZdS)� URLRequiredz*A valid URL is required to make a request.Nrrrrr-r-Ds������4�4�4�4rr-c��eZdZdZdS)�TooManyRedirectszToo many redirects.Nrrrrr/r/Hs���������rr/c��eZdZdZdS)� MissingSchemaz/The URL schema (e.g. http or https) is missing.Nrrrrr1r1Ls������9�9�9�9rr1c��eZdZdZdS)� InvalidSchemaz"See defaults.py for valid schemas.Nrrrrr3r3P�������,�,�,�,rr3c��eZdZdZdS)� InvalidURLz%The URL provided was somehow invalid.Nrrrrr6r6Ts������/�/�/�/rr6c��eZdZdZdS)� InvalidHeaderz.The header value provided was somehow invalid.Nrrrrr8r8Xs������8�8�8�8rr8c��eZdZdZdS)�InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrr:r:\r4rr:c��eZdZdZdS)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nrrrrr<r<`s������I�I�I�Irr<c��eZdZdZdS)�ContentDecodingErrorz"Failed to decode response content.Nrrrrr>r>dr4rr>c��eZdZdZdS)�StreamConsumedErrorz3The content for this response was already consumed.Nrrrrr@r@hs������=�=�=�=rr@c��eZdZdZdS)� RetryErrorzCustom retries logic failedNrrrrrBrBls������%�%�%�%rrBc��eZdZdZdS)�UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.NrrrrrDrDps������E�E�E�ErrDc��eZdZdZdS)�RequestsWarningzBase warning for Requests.NrrrrrFrFvs������$�$�$�$rrFc��eZdZdZdS)�FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.NrrrrrHrHzs������T�T�T�TrrHc��eZdZdZdS)�RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.NrrrrrJrJ~r+rrJN) r�pip._vendor.urllib3.exceptionsr� BaseHTTPError�IOErrorrrr r"r$r&r(r*r-r/� ValueErrorr1r3r6r8r:r<r>� TypeErrorr@rBrD�WarningrF�DeprecationWarningrHrJrrr�rRsp���� F�E�E�E�E�E� @� @� @� @� @�w� @� @� @� !�!�!�!�!�'�!�!�!�"�"�"�"�"� �"�"�"�'�'�'�'�'�&�'�'�'�"�"�"�"�"��"�"�"�!�!�!�!�!��!�!�!���������������_�g����K�K�K�K�K�'�K�K�K�5�5�5�5�5�"�5�5�5������'����:�:�:�:�:�$�j�:�:�:�-�-�-�-�-�$�j�-�-�-�0�0�0�0�0�!�:�0�0�0�9�9�9�9�9�$�j�9�9�9�-�-�-�-�-�j�-�-�-�J�J�J�J�J�+�J�J�J�-�-�-�-�-�+�]�-�-�-�>�>�>�>�>�*�I�>�>�>�&�&�&�&�&�!�&�&�&�F�F�F�F�F�,�F�F�F� %�%�%�%�%�g�%�%�%�U�U�U�U�U�o�'9�U�U�U�K�K�K�K�K��K�K�K�K�Kr