ó
î§]Sc           @   sD  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 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 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   (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR      s    	(   t   __name__t
   __module__t   __doc__R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR      s   R    c           B   s   e  Z d  Z RS(   s   An HTTP error occurred.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR       s   t   ConnectionErrorc           B   s   e  Z d  Z RS(   s   A Connection error occurred.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   "   s   t
   ProxyErrorc           B   s   e  Z d  Z RS(   s   A proxy error occurred.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   &   s   t   SSLErrorc           B   s   e  Z d  Z RS(   s   An SSL error occurred.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   *   s   t   Timeoutc           B   s   e  Z d  Z RS(   s   The request timed out.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/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   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   2   s   t   TooManyRedirectsc           B   s   e  Z d  Z RS(   s   Too many redirects.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   6   s   t   MissingSchemac           B   s   e  Z d  Z RS(   s/   The URL schema (e.g. http or https) is missing.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   :   s   t   InvalidSchemac           B   s   e  Z d  Z RS(   s"   See defaults.py for valid schemas.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   >   s   t
   InvalidURLc           B   s   e  Z d  Z RS(   s'    The URL provided was somehow invalid. (   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   B   s   t   ChunkedEncodingErrorc           B   s   e  Z d  Z RS(   s?   The server declared chunked encoding but sent an invalid chunk.(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   F   s   t   ContentDecodingErrorc           B   s   e  Z d  Z RS(   s!   Failed to decode response content(   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyR   J   s   N(   R   t   packages.urllib3.exceptionsR    t   BaseHTTPErrort   IOErrorR   R   R   R   R   R   R   t
   ValueErrorR   R   R   R   R   (    (    (    s5   /usr/share/streamtuner2/bundle/requests/exceptions.pyt   <module>	   s   