
                         X   S r SSKJr  SSKJr   " S S\5      r " S S\5      r	 " S	 S
\	\5      r " S S\5      r " S S\5      r
 " S S\
5      r " S S\
5      r " S S\5      r " S S\
\5      r " S S\5      r " S S\5      r " S S\5      r " S S\\5      r " S S \\5      r " S! S"\\5      r " S# S$\\5      r " S% S&\5      r " S' S(\5      r " S) S*\\5      r " S+ S,\\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\5      r " S3 S4\\ 5      r! " S5 S6\5      r"g7)8z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
    )	HTTPError   )JSONDecodeErrorc                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )RequestException   zLThere was an ambiguous exception that occurred while handling your
request.
c                   > UR                  SS5      nX0l        UR                  SS5      U l        Ub=  U R                  (       d,  [        US5      (       a  U R                  R                  U l        [        [
        U ]  " U0 UD6  g)zBInitialize RequestException with `request` and `response` objects.responseNrequest)popr
   r   hasattrsuperr   __init__)selfargskwargsr
   	__class__s       .platform/bq/third_party/requests/exceptions.pyr   RequestException.__init__   si    ::j$/ zz)T2 ),,==00DL.??    )r   r
   )__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classcell__)r   s   @r   r   r      s    @ @r   r   c                       \ rS rSrSrSrg)InvalidJSONError   zA JSON error occurred. Nr   r   r   r   r   r   r!   r   r   r   r           r   r   c                       \ rS rSrSrSrg)r   #   z"Couldn't decode the text into jsonr!   Nr"   r!   r   r   r   r   #       ,r   r   c                       \ rS rSrSrSrg)r   '   zAn HTTP error occurred.r!   Nr"   r!   r   r   r   r   '       !r   r   c                       \ rS rSrSrSrg)ConnectionError+   zA Connection error occurred.r!   Nr"   r!   r   r   r+   r+   +   s    &r   r+   c                       \ rS rSrSrSrg)
ProxyError/   zA proxy error occurred.r!   Nr"   r!   r   r   r.   r.   /   r)   r   r.   c                       \ rS rSrSrSrg)SSLError3   zAn SSL error occurred.r!   Nr"   r!   r   r   r1   r1   3   r#   r   r1   c                       \ rS rSrSrSrg)Timeout7   zThe request timed out.

Catching this error will catch both
:exc:`~requests.exceptions.ConnectTimeout` and
:exc:`~requests.exceptions.ReadTimeout` errors.
r!   Nr"   r!   r   r   r4   r4   7   s    r   r4   c                       \ rS rSrSrSrg)ConnectTimeout@   zzThe request timed out while trying to connect to the remote server.

Requests that produced this error are safe to retry.
r!   Nr"   r!   r   r   r7   r7   @   s    r   r7   c                       \ rS rSrSrSrg)ReadTimeoutG   z@The server did not send any data in the allotted amount of time.r!   Nr"   r!   r   r   r:   r:   G       Jr   r:   c                       \ rS rSrSrSrg)URLRequiredK   z*A valid URL is required to make a request.r!   Nr"   r!   r   r   r>   r>   K   s    4r   r>   c                       \ rS rSrSrSrg)TooManyRedirectsO   zToo many redirects.r!   Nr"   r!   r   r   rA   rA   O   s    r   rA   c                       \ rS rSrSrSrg)MissingSchemaS   z/The URL scheme (e.g. http or https) is missing.r!   Nr"   r!   r   r   rD   rD   S   s    9r   rD   c                       \ rS rSrSrSrg)InvalidSchemaW   z9The URL scheme provided is either invalid or unsupported.r!   Nr"   r!   r   r   rG   rG   W   s    Cr   rG   c                       \ rS rSrSrSrg)
InvalidURL[   z%The URL provided was somehow invalid.r!   Nr"   r!   r   r   rJ   rJ   [   s    /r   rJ   c                       \ rS rSrSrSrg)InvalidHeader_   z.The header value provided was somehow invalid.r!   Nr"   r!   r   r   rM   rM   _   s    8r   rM   c                       \ rS rSrSrSrg)InvalidProxyURLc   z"The proxy URL provided is invalid.r!   Nr"   r!   r   r   rP   rP   c   r&   r   rP   c                       \ rS rSrSrSrg)ChunkedEncodingErrorg   z?The server declared chunked encoding but sent an invalid chunk.r!   Nr"   r!   r   r   rS   rS   g   s    Ir   rS   c                       \ rS rSrSrSrg)ContentDecodingErrork   z"Failed to decode response content.r!   Nr"   r!   r   r   rV   rV   k   r&   r   rV   c                       \ rS rSrSrSrg)StreamConsumedErroro   z3The content for this response was already consumed.r!   Nr"   r!   r   r   rY   rY   o   s    =r   rY   c                       \ rS rSrSrSrg)
RetryErrors   zCustom retries logic failedr!   Nr"   r!   r   r   r\   r\   s   s    %r   r\   c                       \ rS rSrSrSrg)UnrewindableBodyErrorw   z;Requests encountered an error when trying to rewind a body.r!   Nr"   r!   r   r   r_   r_   w   s    Er   r_   c                       \ rS rSrSrSrg)RequestsWarning}   zBase warning for Requests.r!   Nr"   r!   r   r   rb   rb   }   s    $r   rb   c                       \ rS rSrSrSrg)FileModeWarning   zJA file was opened in text mode, but Requests determined its binary length.r!   Nr"   r!   r   r   re   re      s    Tr   re   c                       \ rS rSrSrSrg)RequestsDependencyWarning   z@An imported dependency doesn't match the expected version range.r!   Nr"   r!   r   r   rh   rh      r<   r   rh   N)#r   urllib3.exceptionsr   BaseHTTPErrorcompatr   CompatJSONDecodeErrorIOErrorr   r   r+   r.   r1   r4   r7   r:   r>   rA   
ValueErrorrD   rG   rJ   rM   rP   rS   rV   	TypeErrorrY   r\   r_   Warningrb   DeprecationWarningre   rh   r!   r   r   <module>rs      sp   : <@w @ !' !-&(= -"  "'& '" "! ! _g K' K5" 5' :$j :D$j D0!: 09$j 9-j -J+ J-+] ->*I >&! &F, F%g %Uo'9 UK Kr   