Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/requests/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/requests/__pycache__/exceptions.cpython-311.pyc

�

�܋f�����dZddlmZddlmZGd�de��ZGd�de��Z	Gd	�d
e	e��ZGd�de��ZGd
�de��Z
Gd�de
��ZGd�de
��ZGd�de��Z
Gd�de
e
��ZGd�de
��ZGd�de��ZGd�de��ZGd�dee��ZGd�d ee��ZGd!�d"ee��ZGd#�d$ee��ZGd%�d&e��ZGd'�d(e��ZGd)�d*ee��ZGd+�d,ee��ZGd-�d.e��ZGd/�d0e��ZGd1�d2e��ZGd3�d4ee ��Z!Gd5�d6e��Z"d7S)8z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
�)�	HTTPError�)�JSONDecodeErrorc�"��eZdZdZ�fd�Z�xZS)�RequestExceptionzTThere was an ambiguous exception that occurred while handling your
    request.
    c���|�dd��}||_|�dd��|_|�(|js!t|d��r|jj|_t	��j|i|��dS)zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr	r
�hasattr�super�__init__)�self�args�kwargsr	�	__class__s    ��J/opt/cloudlinux/venv/lib64/python3.11/site-packages/requests/exceptions.pyrzRequestException.__init__s|����:�:�j�$�/�/�� ��
��z�z�)�T�2�2����������9�9U�9U���=�0�D�L������$�)�&�)�)�)�)�)�)�__name__�
__module__�__qualname__�__doc__r�
__classcell__)rs@rrrsB���������*�*�*�*�*�*�*�*�*rrc��eZdZdZdS)�InvalidJSONErrorzA JSON error occurred.N�rrrr�rrrr������� � � � rrc��eZdZdZd�ZdS)rz"Couldn't decode the text into jsonc�^�tj|g|�R�tj|g|j�Ri|��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��	�&�t�3�d�3�3�3�3��!�$�=���=�=�=�f�=�=�=�=�=rN)rrrrrrrrrrs)������,�,�>�>�>�>�>rrc��eZdZdZdS)rzAn HTTP error occurred.Nrrrrrr-�������!�!�!�!rrc��eZdZdZdS)�ConnectionErrorzA Connection error occurred.Nrrrrr%r%1s������&�&�&�&rr%c��eZdZdZdS)�
ProxyErrorzA proxy error occurred.Nrrrrr'r'5r#rr'c��eZdZdZdS)�SSLErrorzAn SSL error occurred.Nrrrrr)r)9rrr)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+=s���������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-Fs���������rr-c��eZdZdZdS)�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrr/r/M�������J�J�J�Jrr/c��eZdZdZdS)�URLRequiredz*A valid URL is required to make a request.Nrrrrr2r2Qs������4�4�4�4rr2c��eZdZdZdS)�TooManyRedirectszToo many redirects.Nrrrrr4r4Us���������rr4c��eZdZdZdS)�
MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nrrrrr6r6Ys������9�9�9�9rr6c��eZdZdZdS)�
InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nrrrrr8r8]s������C�C�C�Crr8c��eZdZdZdS)�
InvalidURLz%The URL provided was somehow invalid.Nrrrrr:r:as������/�/�/�/rr:c��eZdZdZdS)�
InvalidHeaderz.The header value provided was somehow invalid.Nrrrrr<r<es������8�8�8�8rr<c��eZdZdZdS)�InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrr>r>i�������,�,�,�,rr>c��eZdZdZdS)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.NrrrrrArAms������I�I�I�IrrAc��eZdZdZdS)�ContentDecodingErrorz"Failed to decode response content.NrrrrrCrCqr?rrCc��eZdZdZdS)�StreamConsumedErrorz3The content for this response was already consumed.NrrrrrErEus������=�=�=�=rrEc��eZdZdZdS)�
RetryErrorzCustom retries logic failedNrrrrrGrGys������%�%�%�%rrGc��eZdZdZdS)�UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.NrrrrrIrI}s������E�E�E�ErrIc��eZdZdZdS)�RequestsWarningzBase warning for Requests.NrrrrrKrK�s������$�$�$�$rrKc��eZdZdZdS)�FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.NrrrrrMrM�s������T�T�T�TrrMc��eZdZdZdS)�RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.NrrrrrOrO�r0rrON)#r�urllib3.exceptionsr�
BaseHTTPError�compatrr!�IOErrorrrr%r'r)r+r-r/r2r4�
ValueErrorr6r8r:r<r>rArC�	TypeErrorrErGrI�WarningrK�DeprecationWarningrMrOrrr�<module>rXs�����:�9�9�9�9�9�<�<�<�<�<�<�*�*�*�*�*�w�*�*�*�!�!�!�!�!�'�!�!�!�>�>�>�>�>�&�(=�>�>�>�"�"�"�"�"� �"�"�"�'�'�'�'�'�&�'�'�'�"�"�"�"�"��"�"�"�!�!�!�!�!��!�!�!���������������_�g����K�K�K�K�K�'�K�K�K�5�5�5�5�5�"�5�5�5������'����:�:�:�:�:�$�j�:�:�:�D�D�D�D�D�$�j�D�D�D�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

Hacked By AnonymousFox1.0, Coded By AnonymousFox