ó
jˇĂ^c           @   s,  d  Z  d d l m Z d e f d     YZ d e f d     YZ d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ	 d e e	 f d     YZ
 d e	 f d     YZ d e f d     YZ d e f d     YZ d e e f d     YZ d e e f d     YZ d e e f d     YZ d e e f d     YZ d e f d      YZ d! e f d"     YZ d# e e f d$     YZ d% e e f d&     YZ d' e f d(     YZ d) e f d*     YZ d+ e f d,     YZ d- e e f d.     YZ d/ e f d0     YZ d1 S(2   s`   
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
i˙˙˙˙(   t	   HTTPErrort   RequestExceptionc           B   s   e  Z d  Z d   Z RS(   sT   There was an ambiguous exception that occurred while handling your
    request.
    c         O   s   | j  d d  } | |  _ | j  d d  |  _ | d k	 rg |  j rg t | d  rg |  j j |  _ n  t t |   j | |   d S(   sB   Initialize RequestException with `request` and `response` objects.t   responset   requestN(   t   popt   NoneR   R   t   hasattrt   superR   t   __init__(   t   selft   argst   kwargsR   (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR      s    	(   t   __name__t
   __module__t   __doc__R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR      s   R    c           B   s   e  Z d  Z RS(   s   An HTTP error occurred.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR       s   t   ConnectionErrorc           B   s   e  Z d  Z RS(   s   A Connection error occurred.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR       s   t
   ProxyErrorc           B   s   e  Z d  Z RS(   s   A proxy error occurred.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   $   s   t   SSLErrorc           B   s   e  Z d  Z RS(   s   An SSL error occurred.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   (   s   t   Timeoutc           B   s   e  Z d  Z RS(   sŤ   The request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    (   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   ,   s   t   ConnectTimeoutc           B   s   e  Z d  Z RS(   s   The request timed out while trying to connect to the remote server.

    Requests that produced this error are safe to retry.
    (   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   5   s   t   ReadTimeoutc           B   s   e  Z d  Z RS(   s@   The server did not send any data in the allotted amount of time.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   <   s   t   URLRequiredc           B   s   e  Z d  Z RS(   s*   A valid URL is required to make a request.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   @   s   t   TooManyRedirectsc           B   s   e  Z d  Z RS(   s   Too many redirects.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   D   s   t   MissingSchemac           B   s   e  Z d  Z RS(   s/   The URL schema (e.g. http or https) is missing.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   H   s   t   InvalidSchemac           B   s   e  Z d  Z RS(   s"   See defaults.py for valid schemas.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   L   s   t
   InvalidURLc           B   s   e  Z d  Z RS(   s%   The URL provided was somehow invalid.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   P   s   t   InvalidHeaderc           B   s   e  Z d  Z RS(   s.   The header value provided was somehow invalid.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   T   s   t   InvalidProxyURLc           B   s   e  Z d  Z RS(   s"   The proxy URL provided is invalid.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   X   s   t   ChunkedEncodingErrorc           B   s   e  Z d  Z RS(   s?   The server declared chunked encoding but sent an invalid chunk.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   \   s   t   ContentDecodingErrorc           B   s   e  Z d  Z RS(   s!   Failed to decode response content(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   `   s   t   StreamConsumedErrorc           B   s   e  Z d  Z RS(   s2   The content for this response was already consumed(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   d   s   t
   RetryErrorc           B   s   e  Z d  Z RS(   s   Custom retries logic failed(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR   h   s   t   UnrewindableBodyErrorc           B   s   e  Z d  Z RS(   s:   Requests encountered an error when trying to rewind a body(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR    l   s   t   RequestsWarningc           B   s   e  Z d  Z RS(   s   Base warning for Requests.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR!   r   s   t   FileModeWarningc           B   s   e  Z d  Z RS(   sJ   A file was opened in text mode, but Requests determined its binary length.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR"   w   s   t   RequestsDependencyWarningc           B   s   e  Z d  Z RS(   s@   An imported dependency doesn't match the expected version range.(   R   R   R   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyR#   |   s   N(   R   t   pip._vendor.urllib3.exceptionsR    t   BaseHTTPErrort   IOErrorR   R   R   R   R   R   R   R   R   t
   ValueErrorR   R   R   R   R   R   R   t	   TypeErrorR   R   R    t   WarningR!   t   DeprecationWarningR"   R#   (    (    (    s0   site-packages/pip/_vendor/requests/exceptions.pyt   <module>   s0   	