a
    [fv                     @   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rB| jsBt|drB| 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__ qC:\Users\91910\OneDrive\Desktop\vts_admin_rebuild-master\vts\Lib\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                   @   s   e Zd ZdZdS )InvalidJSONErrorzA JSON error occurred.Nr   r   r   r   r   r   r   r   r      s   r   c                   @   s   e Zd ZdZdS )r   z"Couldn't decode the text into jsonNr   r   r   r   r   r   "   s   r   c                   @   s   e Zd ZdZdS )r   zAn HTTP error occurred.Nr   r   r   r   r   r   &   s   r   c                   @   s   e Zd ZdZdS )ConnectionErrorzA Connection error occurred.Nr   r   r   r   r   r   *   s   r   c                   @   s   e Zd ZdZdS )
ProxyErrorzA proxy error occurred.Nr   r   r   r   r   r   .   s   r   c                   @   s   e Zd ZdZdS )SSLErrorzAn SSL error occurred.Nr   r   r   r   r   r   2   s   r   c                   @   s   e Zd ZdZdS )TimeoutzThe 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   s   r   c                   @   s   e Zd ZdZdS )ConnectTimeoutzThe 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   ?   s   r   c                   @   s   e Zd ZdZdS )ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr   r   r   r   r   r   F   s   r   c                   @   s   e Zd ZdZdS )URLRequiredz*A valid URL is required to make a request.Nr   r   r   r   r   r    J   s   r    c                   @   s   e Zd ZdZdS )TooManyRedirectszToo many redirects.Nr   r   r   r   r   r!   N   s   r!   c                   @   s   e Zd ZdZdS )MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nr   r   r   r   r   r"   R   s   r"   c                   @   s   e Zd ZdZdS )InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nr   r   r   r   r   r#   V   s   r#   c                   @   s   e Zd ZdZdS )
InvalidURLz%The URL provided was somehow invalid.Nr   r   r   r   r   r$   Z   s   r$   c                   @   s   e Zd ZdZdS )InvalidHeaderz.The header value provided was somehow invalid.Nr   r   r   r   r   r%   ^   s   r%   c                   @   s   e Zd ZdZdS )InvalidProxyURLz"The proxy URL provided is invalid.Nr   r   r   r   r   r&   b   s   r&   c                   @   s   e Zd ZdZdS )ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nr   r   r   r   r   r'   f   s   r'   c                   @   s   e Zd ZdZdS )ContentDecodingErrorz"Failed to decode response content.Nr   r   r   r   r   r(   j   s   r(   c                   @   s   e Zd ZdZdS )StreamConsumedErrorz3The content for this response was already consumed.Nr   r   r   r   r   r)   n   s   r)   c                   @   s   e Zd ZdZdS )
RetryErrorzCustom retries logic failedNr   r   r   r   r   r*   r   s   r*   c                   @   s   e Zd ZdZdS )UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.Nr   r   r   r   r   r+   v   s   r+   c                   @   s   e Zd ZdZdS )RequestsWarningzBase warning for Requests.Nr   r   r   r   r   r,   |   s   r,   c                   @   s   e Zd ZdZdS )FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.Nr   r   r   r   r   r-      s   r-   c                   @   s   e Zd ZdZdS )RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.Nr   r   r   r   r   r.      s   r.   N)#r   Z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-   r.   r   r   r   r   <module>   s6   	