Current File : //lib/python2.7/site-packages/requests/exceptions.pyo
�
YЅ_c@s�dZddlmZdefd��YZdefd��YZdefd��YZd	efd
��YZdefd��YZd
efd��YZ	dee	fd��YZ
de	fd��YZdefd��YZdefd��YZ
deefd��YZdeefd��YZdeefd��YZdefd��YZdeefd ��YZd!eefd"��YZd#efd$��YZd%S(&sa
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.

i����(t	HTTPErrortRequestExceptioncBseZdZd�ZRS(sOThere was an ambiguous exception that occurred while handling your
    request.cOs�|jdd�}||_|jdd�|_|dk	rg|jrgt|d�rg|jj|_ntt|�j||�dS(sT
        Initialize RequestException with `request` and `response` objects.
        tresponsetrequestN(tpoptNoneRRthasattrtsuperRt__init__(tselftargstkwargsR((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRs	(t__name__t
__module__t__doc__R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR
sRcBseZdZRS(sAn HTTP error occurred.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRstConnectionErrorcBseZdZRS(sA Connection error occurred.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR"st
ProxyErrorcBseZdZRS(sA proxy error occurred.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR&stSSLErrorcBseZdZRS(sAn SSL error occurred.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR*stTimeoutcBseZdZRS(s�The request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    (RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR.stConnectTimeoutcBseZdZRS(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(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR7stReadTimeoutcBseZdZRS(s@The server did not send any data in the allotted amount of time.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR>stURLRequiredcBseZdZRS(s*A valid URL is required to make a request.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRBstTooManyRedirectscBseZdZRS(sToo many redirects.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRFst
MissingSchemacBseZdZRS(s/The URL schema (e.g. http or https) is missing.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRJst
InvalidSchemacBseZdZRS(s"See defaults.py for valid schemas.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRNst
InvalidURLcBseZdZRS(s' The URL provided was somehow invalid. (RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRRstChunkedEncodingErrorcBseZdZRS(s?The server declared chunked encoding but sent an invalid chunk.(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRVstContentDecodingErrorcBseZdZRS(s!Failed to decode response content(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRZstStreamConsumedErrorcBseZdZRS(s2The content for this response was already consumed(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyR^st
RetryErrorcBseZdZRS(sCustom retries logic failed(RR
R(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyRbsN(Rturllib3.exceptionsRt
BaseHTTPErrortIOErrorRRRRRRRRRt
ValueErrorRRRRRt	TypeErrorRR(((s7/usr/lib/python2.7/site-packages/requests/exceptions.pyt<module>	s$