Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.145.103.12
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : exceptions.cpython-312.pyc
�

=f�$��<�ddlmZddlZddlZddlZddlmZddlmZ	ejrddlmZddl
mZddlmZdd	lmZGd
�de�ZGd�d
e�Zej.ej0defej.edffZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�Z e Z!Gd�de�Z"Gd�de�Z#Gd�d e�Z$Gd!�d"e�Z%Gd#�d$e%e�Z&Gd%�d&e%�Z'Gd'�d(e'e�Z(Gd)�d*e(�Z)Gd+�d,e�Z*Gd-�d.e�Z+Gd/�d0e�Z,Gd1�d2e-e�Z.Gd3�d4e.�Z/Gd5�d6e.�Z0Gd7�d8e�Z1Gd9�d:e�Z2Gd;�d<e2�Z3Gd=�d>e2�Z4Gd?�d@e2�Z5GdA�dBe2�Z6GdC�dDe�Z7GdE�dFe e-�Z8GdG�dHe�Z9GdI�dJee	�ZGdK�dLee	�Z:GdM�dNe�Z;GdO�dPe<e0�Z=GdQ�dRe-�Z>GdS�dTe�Z?GdU�dVe�Z@y)W�)�annotationsN)�
MessageDefect)�IncompleteRead�)�HTTPConnection)�ConnectionPool)�HTTPResponse)�Retryc��eZdZdZy)�	HTTPErrorz#Base exception used by this module.N��__name__�
__module__�__qualname__�__doc__���I/usr/local/python-3.12/lib/python3.12/site-packages/urllib3/exceptions.pyrrs��-rrc��eZdZdZy)�HTTPWarningz!Base warning used by this module.Nr
rrrrrs��+rr.c�,��eZdZdZd�fd�Zdd�Z�xZS)�	PoolErrorz/Base exception for errors caused within a pool.c�<��||_t�|�	|�d|���y�Nz: )�pool�super�__init__)�selfr�message�	__class__s   �rrzPoolError.__init__"�"�����	�
���D�6��G�9�-�.rc��|jdfS)N)NN�r �rs r�
__reduce__zPoolError.__reduce__&s���~�~�|�+�+r)rrr�str�return�None�r'�_TYPE_REDUCE_RESULT�rrrrrr%�
__classcell__r#s@rrrs���9�/�,rrc�,��eZdZdZd�fd�Zdd�Z�xZS)�RequestErrorz8Base exception for PoolErrors that have associated URLs.c�4��||_t�|�	||�y�N)�urlrr)rrr1rr s    �rrzRequestError.__init__.s������
����w�'rc�8�|jd|jdffSr0)r r1r$s rr%zRequestError.__reduce__2s���~�~��d�h�h��5�5�5r)rrr1r&rr&r'r(r)r+r#s@rr.r.+s���B�(�6rr.c��eZdZdZy)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr
rrrr4r47���Crr4c�0��eZdZUdZded<d�fd�Z�xZS)�
ProxyErrorz,Raised when the connection to a proxy fails.�	Exception�original_errorc�4��t�|�||�||_yr0)rrr9)rr�errorr s   �rrzProxyError.__init__As���
����%�(�#��r)rr&r;r8r'r()rrrr�__annotations__rr,r#s@rr7r7;s���6���$�$rr7c��eZdZdZy)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nr
rrrr>r>F���Err>c��eZdZdZy)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr
rrrrArAJs��HrrAc�6��eZdZdZ	d							d�fd�
Z�xZS)�
MaxRetryErroraRaised when the maximum number of retries is exceeded.

    :param pool: The connection pool
    :type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
    :param str url: The requested Url
    :param reason: The underlying error
    :type reason: :class:`Exception`

    c�H��||_d|�d|�d�}t�|�	|||�y)NzMax retries exceeded with url: z (Caused by �))�reasonrr)rrr1rFrr s     �rrzMaxRetryError.__init__`s1������3�C�5��V�J�a�P��
����s�G�,rr0)rrr1r&rFzException | Noner'r(�rrrrrr,r#s@rrCrCUs9����JN�-�"�-�),�-�6F�-�	
�-�-rrCc�6��eZdZdZ	d							d�fd�
Z�xZS)�HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.c�@��d|��}t�|�|||�||_y)Nz'Tried to open a foreign host with url: )rr�retries)rrr1rKrr s     �rrzHostChangedError.__init__ms)���<�C�5�A��
����s�G�,���r)�)rrr1r&rKzRetry | intr'r(rGr#s@rrIrIjs7���I�FG��"��),��7B��	
��rrIc��eZdZdZy)�TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr
rrrrNrNus��;rrNc��eZdZdZy)�TimeoutErrorz�Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    Nr
rrrrPrPys��rrPc��eZdZdZy)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr
rrrrRrR�s��PrrRc��eZdZdZy)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr
rrrrTrT�s��JrrTc�6��eZdZdZd�fd�Zedd��Z�xZS)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.c�<��||_t�|�	|�d|���yr)�connrr)rrXrr s   �rrzNewConnectionError.__init__�r!rc�R�tjdtd��|jS)Nz\The 'pool' property is deprecated and will be removed in urllib3 v2.1.0. Use 'conn' instead.�)�
stacklevel)�warnings�warn�DeprecationWarningrXr$s rrzNewConnectionError.pool�s%���
�
�
5���		
��y�y�r)rXrrr&r'r()r'r)rrrrr�propertyrr,r#s@rrVrV�s���R�/����rrVc�$��eZdZdZd�fd�Z�xZS)�NameResolutionErrorz'Raised when host name resolution fails.c�8��d|�d|�d�}t�|�||�y)NzFailed to resolve 'z' (rE�rr)r�hostrXrFrr s     �rrzNameResolutionError.__init__�s&���'��v�S����:��
����w�'r)rdr&rXrrFzsocket.gaierrorrGr#s@rrara�s���1�(�(rrac��eZdZdZy)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr
rrrrfrf����Mrrfc��eZdZdZy)�
FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.Nr
rrrriri�s��Qrric��eZdZdZy)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nr
rrrrkrk�rgrrkc��eZdZdZy)�LocationValueErrorz<Raised when there is something wrong with a given URL input.Nr
rrrrmrm�s��Frrmc�$��eZdZdZd�fd�Z�xZS)�LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.c�<��d|��}t�|�|�||_y)NzFailed to parse: )rr�location)rrqrr s   �rrzLocationParseError.__init__�s#���%�h�Z�0��
����!� ��
r)rqr&r'r(rGr#s@rroro�s���G�!�!rroc�$��eZdZdZd�fd�Z�xZS)�URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.c�<��d|��}t�|�|�||_y)NzNot supported URL scheme )rr�scheme�rrurr s   �rrzURLSchemeUnknown.__init__�s#���-�f�X�6��
����!���r)rur&rGr#s@rrsrs�s���<��rrsc��eZdZdZdZdZy)�
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rrrr�
GENERIC_ERROR�SPECIFIC_ERRORrrrrxrx�s��N�.�M�=�Nrrxc��eZdZdZy)�SecurityWarningz0Warned when performing security reducing actionsNr
rrrr|r|����:rr|c��eZdZdZy)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nr
rrrrr�s��9rrc��eZdZdZy)�NotOpenSSLWarningz)Warned when using unsupported SSL libraryNr
rrrr�r��s��3rr�c��eZdZdZy)�SystemTimeWarningz0Warned when system time is suspected to be wrongNr
rrrr�r��r}rr�c��eZdZdZy)�InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nr
rrrr�r��s��Srr�c��eZdZdZy)�DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    Nr
rrrr�r�����rr�c��eZdZdZy)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nr
rrrr�r��r?rr�c��eZdZdZy)�BodyNotHttplibCompatiblez�
    Body should be :class:`http.client.HTTPResponse` like
    (have an fp attribute which returns raw chunks) for read_chunked().
    Nr
rrrr�r��r�rr�c�6�eZdZUdZded<ded<dd�Zd	d�Zy)
rz�
    Response length doesn't match expected Content-Length

    Subclass of :class:`http.client.IncompleteRead` to allow int value
    for ``partial`` to avoid creating large objects on streamed reads.
    �int�partial�expectedc� �||_||_yr0�r�r�)rr�r�s   rrzIncompleteRead.__init__s����� ��
rc�8�d|j|jfzS)Nz/IncompleteRead(%i bytes read, %i more expected)r�r$s r�__repr__zIncompleteRead.__repr__s#��@��L�L��M�M�D
�
�	
rN)r�r�r�r�r'r(�r'r&)rrrrr<rr�rrrrr�s����L��M�!�
rrc� �eZdZdZdd�Zdd�Zy)�InvalidChunkLengthz+Invalid chunk length in a chunked response.c�l�|j�|_|j|_||_||_yr0)�tellr��length_remainingr��response�length)rr�r�s   rrzInvalidChunkLength.__init__s*��$�M�M�O���$,�$=�$=��
� ��
���rc�8�d|j|jfzS)Nz0InvalidChunkLength(got length %r, %i bytes read))r�r�r$s rr�zInvalidChunkLength.__repr__s#��A��K�K��L�L�E
�
�	
rN)r�r	r��bytesr'r(r�)rrrrrr�rrrr�r�
s��5��
rr�c��eZdZdZy)�
InvalidHeaderz(The header provided was somehow invalid.Nr
rrrr�r�s��2rr�c�$��eZdZdZd�fd�Z�xZS)�ProxySchemeUnknownz1ProxyManager does not support the supplied schemec�H��|dk(rd}|�d}nd|�d�}t�|�|�y)N�	localhostz>Proxy URL had no scheme, should start with http:// or https://z!Proxy URL had unsupported scheme z , should use http:// or https://rcrvs   �rrzProxySchemeUnknown.__init__&s8����[� ��F��>�V�G�9�&��Aa�b�G�
����!r)ruz
str | Noner'r(rGr#s@rr�r�!s���;�	"�	"rr�c��eZdZdZy)�ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNr
rrrr�r�2s��Grr�c�0��eZdZdZ						d�fd�Z�xZS)�HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.c�:��|xsd�d|��}t�|�|�y)N�Unknownz, unparsed data: rc)r�defects�
unparsed_datarr s    �rrzHeaderParsingError.__init__9s*����)�	�*�*;�M�;L�M��
����!r)r�zlist[MessageDefect]r�zbytes | str | Noner'r(rGr#s@rr�r�6s(���X�"�*�"�;M�"�	
�"�"rr�c��eZdZdZy)�UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNr
rrrr�r�@r5rr�)A�
__future__r�socket�typingr\�email.errorsr�http.clientr�httplib_IncompleteRead�
TYPE_CHECKING�
connectionr�connectionpoolrr�r	�
util.retryr
r8r�Warningr�Tuple�Callable�objectr*rr.r4r7r>rA�ConnectionErrorrCrIrNrPrRrTrVrarfrirk�
ValueErrorrmrorsrxr|rr�r�r�r�r�r�r�r��AssertionErrorr�r�r�r�rrr�<module>r�s]��"�
�
��&�@�	���*�.�&�!�
.�	�.�,�'�,��l�l�
�O�O�C��K� �&�,�,�v�s�{�";�;���
	,�	�	,�	6�9�	6�D�y�D�$��$�F�)�F�I�I�I�
 ��-�L�-�*�|��<�	�<��9��Q�|�\�Q�K�,�K��,�i��&(�,�(�N�Y�N�R�I�R�N�i�N�G��Y�G�!�+�!��)��>�I�>�;�k�;�:�_�:�4��4�;��;�T�o�T����F��
�F��y��
�Y� 6�
�,

��$:�

� 3�I�3�"��)9�"�"H�Z�H�"��"�D�I�Dr
© 2025 GrazzMean