%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/requests/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/requests/__pycache__/exceptions.cpython-312.pyc

�

�kd���X�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"y7)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����|jdd�}||_|jdd�|_|�3|js't|d�r|jj|_t	�|�|i|��y)zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr	r
�hasattr�super�__init__)�self�args�kwargsr	�	__class__s    ��5/usr/lib/python3/dist-packages/requests/exceptions.pyrzRequestException.__init__sd����:�:�j�$�/�� ��
��z�z�)�T�2����������9�9U��=�=�0�0�D�L�
���$�)�&�)�)�__name__�
__module__�__qualname__�__doc__r�
__classcell__)rs@rrrs����*�*rrc��eZdZdZy)�InvalidJSONErrorzA JSON error occurred.N�rrrr�rrrr��� rrc��eZdZdZd�Zy)rz"Couldn't decode the text into jsonc�v�tj|g|���tj|g|j��i|��y)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__"s3��	�&�&�t�3�d�3��!�!�$�=����=�f�=rN)rrrrrrrrrrs
��,�>rrc��eZdZdZy)rzAn HTTP error occurred.Nrrrrrr-���!rrc��eZdZdZy)�ConnectionErrorzA Connection error occurred.Nrrrrr%r%1s��&rr%c��eZdZdZy)�
ProxyErrorzA proxy error occurred.Nrrrrr'r'5r#rr'c��eZdZdZy)�SSLErrorzAn SSL error occurred.Nrrrrr)r)9rrr)c��eZdZdZy)�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��eZdZdZy)�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��eZdZdZy)�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrr/r/M���Jrr/c��eZdZdZy)�URLRequiredz*A valid URL is required to make a request.Nrrrrr2r2Qs��4rr2c��eZdZdZy)�TooManyRedirectszToo many redirects.Nrrrrr4r4Us��rr4c��eZdZdZy)�
MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nrrrrr6r6Ys��9rr6c��eZdZdZy)�
InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nrrrrr8r8]s��Crr8c��eZdZdZy)�
InvalidURLz%The URL provided was somehow invalid.Nrrrrr:r:as��/rr:c��eZdZdZy)�
InvalidHeaderz.The header value provided was somehow invalid.Nrrrrr<r<es��8rr<c��eZdZdZy)�InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrr>r>i���,rr>c��eZdZdZy)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.NrrrrrArAms��IrrAc��eZdZdZy)�ContentDecodingErrorz"Failed to decode response content.NrrrrrCrCqr?rrCc��eZdZdZy)�StreamConsumedErrorz3The content for this response was already consumed.NrrrrrErEus��=rrEc��eZdZdZy)�
RetryErrorzCustom retries logic failedNrrrrrGrGys��%rrGc��eZdZdZy)�UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.NrrrrrIrI}s��ErrIc��eZdZdZy)�RequestsWarningzBase warning for Requests.NrrrrrKrK�s��$rrKc��eZdZdZy)�FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.NrrrrrMrM�s��TrrMc��eZdZdZy)�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>rXsn���:�<�*�w�*�!�'�!�>�&�(=�>�"� �"�'�&�'�"��"�!��!�����_�g��K�'�K�5�"�5��'��:�$�j�:�D�$�j�D�0�!�:�0�9�$�j�9�-�j�-�J�+�J�-�+�]�-�>�*�I�>�&�!�&�F�,�F�%�g�%�U�o�'9�U�K��Kr

Zerion Mini Shell 1.0