ó
^ęWc           @   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 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) S(*   sa   
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.

i   (   t	   HTTPErrort   RequestExceptionc           B   s   e  Z d  Z d   Z RS(   sO   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(   sT   
        Initialize RequestException with `request` and `response` objects.
        t   responset   requestN(   t   popt   NoneR   R   t   hasattrt   superR   t   __init__(   t   selft   argst   kwargsR   (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR      s    	(   t   __name__t
   __module__t   __doc__R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR      s   R    c           B   s   e  Z d  Z RS(   s   An HTTP error occurred.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR       s   t   ConnectionErrorc           B   s   e  Z d  Z RS(   s   A Connection error occurred.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   "   s   t
   ProxyErrorc           B   s   e  Z d  Z RS(   s   A proxy error occurred.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   &   s   t   SSLErrorc           B   s   e  Z d  Z RS(   s   An SSL error occurred.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/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   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/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   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   7   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   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/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   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   B   s   t   TooManyRedirectsc           B   s   e  Z d  Z RS(   s   Too many redirects.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   F   s   t   MissingSchemac           B   s   e  Z d  Z RS(   s/   The URL schema (e.g. http or https) is missing.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   J   s   t   InvalidSchemac           B   s   e  Z d  Z RS(   s"   See defaults.py for valid schemas.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   N   s   t
   InvalidURLc           B   s   e  Z d  Z RS(   s'    The URL provided was somehow invalid. (   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   R   s   t   ChunkedEncodingErrorc           B   s   e  Z d  Z RS(   s?   The server declared chunked encoding but sent an invalid chunk.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   V   s   t   ContentDecodingErrorc           B   s   e  Z d  Z RS(   s!   Failed to decode response content(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   Z   s   t   StreamConsumedErrorc           B   s   e  Z d  Z RS(   s2   The content for this response was already consumed(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   ^   s   t
   RetryErrorc           B   s   e  Z d  Z RS(   s   Custom retries logic failed(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   b   s   t   RequestsWarningc           B   s   e  Z d  Z RS(   s   Base warning for Requests.(   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   i   s   t   FileModeWarningc           B   s   e  Z d  Z RS(   sT   
    A file was opened in text mode, but Requests determined its binary length.
    (   R   R   R   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyR   n   s   N(   R   t   packages.urllib3.exceptionsR    t   BaseHTTPErrort   IOErrorR   R   R   R   R   R   R   R   R   t
   ValueErrorR   R   R   R   R   t	   TypeErrorR   R   t   WarningR   t   DeprecationWarningR   (    (    (    sp   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/_vendor/requests/exceptions.pyt   <module>	   s(   	