o
    ™Mfv  ã                   @   sÂ  d Z ddlmZ ddlmZ G dd„ deƒZG dd„ deƒZ	G d	d
„ d
e	eƒZG dd„ deƒZG dd„ deƒZ
G dd„ de
ƒZG dd„ de
ƒZG dd„ deƒZG dd„ de
eƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deeƒZG dd „ d eeƒZG d!d"„ d"eeƒZG d#d$„ d$eeƒZG d%d&„ d&eƒZG d'd(„ d(eƒZG d)d*„ d*eeƒZG d+d,„ d,eeƒZG d-d.„ d.eƒZG d/d0„ d0eƒZG d1d2„ d2eƒZG d3d4„ d4ee ƒZ!G d5d6„ d6eƒZ"d7S )8z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
é    )Ú	HTTPErroré   )ÚJSONDecodeErrorc                       s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚRequestExceptionzTThere was an ambiguous exception that occurred while handling your
    request.
    c                    s\   |  dd¡}|| _|  dd¡| _|dur!| js!t|dƒr!| jj| _tt| ƒj|i |¤Ž dS )zBInitialize RequestException with `request` and `response` objects.ÚresponseNÚrequest)Úpopr   r   ÚhasattrÚsuperr   Ú__init__)ÚselfÚargsÚkwargsr   ©Ú	__class__© úa/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.pyr      s   ÿ
zRequestException.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__r   r   r   r   r      s    r   c                   @   ó   e Zd ZdZdS )ÚInvalidJSONErrorzA JSON error occurred.N©r   r   r   r   r   r   r   r   r      ó    r   c                   @   r   )r   z"Couldn't decode the text into jsonNr   r   r   r   r   r   "   r   r   c                   @   r   )r   zAn HTTP error occurred.Nr   r   r   r   r   r   &   r   r   c                   @   r   )ÚConnectionErrorzA Connection error occurred.Nr   r   r   r   r   r   *   r   r   c                   @   r   )Ú
ProxyErrorzA proxy error occurred.Nr   r   r   r   r   r   .   r   r   c                   @   r   )ÚSSLErrorzAn SSL error occurred.Nr   r   r   r   r   r   2   r   r   c                   @   r   )ÚTimeoutz«The 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   6   r   r   c                   @   r   )ÚConnectTimeoutz‚The 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    ?   r   r    c                   @   r   )ÚReadTimeoutz@The server did not send any data in the allotted amount of time.Nr   r   r   r   r   r!   F   r   r!   c                   @   r   )ÚURLRequiredz*A valid URL is required to make a request.Nr   r   r   r   r   r"   J   r   r"   c                   @   r   )ÚTooManyRedirectszToo many redirects.Nr   r   r   r   r   r#   N   r   r#   c                   @   r   )ÚMissingSchemaz/The URL scheme (e.g. http or https) is missing.Nr   r   r   r   r   r$   R   r   r$   c                   @   r   )ÚInvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nr   r   r   r   r   r%   V   r   r%   c                   @   r   )Ú
InvalidURLz%The URL provided was somehow invalid.Nr   r   r   r   r   r&   Z   r   r&   c                   @   r   )ÚInvalidHeaderz.The header value provided was somehow invalid.Nr   r   r   r   r   r'   ^   r   r'   c                   @   r   )ÚInvalidProxyURLz"The proxy URL provided is invalid.Nr   r   r   r   r   r(   b   r   r(   c                   @   r   )ÚChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nr   r   r   r   r   r)   f   r   r)   c                   @   r   )ÚContentDecodingErrorz"Failed to decode response content.Nr   r   r   r   r   r*   j   r   r*   c                   @   r   )ÚStreamConsumedErrorz3The content for this response was already consumed.Nr   r   r   r   r   r+   n   r   r+   c                   @   r   )Ú
RetryErrorzCustom retries logic failedNr   r   r   r   r   r,   r   r   r,   c                   @   r   )ÚUnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.Nr   r   r   r   r   r-   v   r   r-   c                   @   r   )ÚRequestsWarningzBase warning for Requests.Nr   r   r   r   r   r.   |   r   r.   c                   @   r   )ÚFileModeWarningzJA file was opened in text mode, but Requests determined its binary length.Nr   r   r   r   r   r/   €   r   r/   c                   @   r   )ÚRequestsDependencyWarningz@An imported dependency doesn't match the expected version range.Nr   r   r   r   r   r0   „   r   r0   N)#r   Úpip._vendor.urllib3.exceptionsr   ÚBaseHTTPErrorÚcompatr   ÚCompatJSONDecodeErrorÚIOErrorr   r   r   r   r   r   r    r!   r"   r#   Ú
ValueErrorr$   r%   r&   r'   r(   r)   r*   Ú	TypeErrorr+   r,   r-   ÚWarningr.   ÚDeprecationWarningr/   r0   r   r   r   r   Ú<module>   s8   	