
    Af	                        d Z ddlmZ  G d de          Z G d de          Z G d de          Z G d	 d
e          Z G d de          Z G d de          Z	 G d dee	          Z
 G d de	          Z G d de          Z G d de          Z G d dee          Z G d dee          Z G d dee          Z G d de          Z G d d ee          Z G d! d"ee          Z G d# d$e          Zd%S )&za
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.

   )	HTTPErrorc                   "     e Zd ZdZ fdZ xZS )RequestExceptionzOThere was an ambiguous exception that occurred while handling your
    request.c                    |                     dd          }|| _        |                     dd          | _        |(| j        s!t          |d          r| j        j        | _         t	          t
          |           j        |i | dS )zT
        Initialize RequestException with `request` and `response` objects.
        responseNrequest)popr   r   hasattrsuperr   __init__)selfargskwargsr   	__class__s       t/home/panchajanya/Development/work/volatility3/lib/python3.11/site-packages/botocore/vendored/requests/exceptions.pyr   zRequestException.__init__   s     ::j$// zz)T22  ),, !=0DL.%%.??????    )__name__
__module____qualname____doc__r   __classcell__)r   s   @r   r   r      sK         
@ 
@ 
@ 
@ 
@ 
@ 
@ 
@ 
@r   r   c                       e Zd ZdZdS )r   zAn HTTP error occurred.Nr   r   r   r    r   r   r   r              !!!!r   r   c                       e Zd ZdZdS )ConnectionErrorzA Connection error occurred.Nr   r   r   r   r   r   "   s        &&&&r   r   c                       e Zd ZdZdS )
ProxyErrorzA proxy error occurred.Nr   r   r   r   r   r   &   r   r   r   c                       e Zd ZdZdS )SSLErrorzAn SSL error occurred.Nr   r   r   r   r!   r!   *   s            r   r!   c                       e Zd ZdZdS )TimeoutzThe request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    Nr   r   r   r   r#   r#   .   s           r   r#   c                       e Zd ZdZdS )ConnectTimeoutzThe request timed out while trying to connect to the remote server.

    Requests that produced this error are safe to retry.
    Nr   r   r   r   r%   r%   7   s           r   r%   c                       e Zd ZdZdS )ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr   r   r   r   r'   r'   >   s        JJJJr   r'   c                       e Zd ZdZdS )URLRequiredz*A valid URL is required to make a request.Nr   r   r   r   r)   r)   B   s        4444r   r)   c                       e Zd ZdZdS )TooManyRedirectszToo many redirects.Nr   r   r   r   r+   r+   F   s        r   r+   c                       e Zd ZdZdS )MissingSchemaz/The URL schema (e.g. http or https) is missing.Nr   r   r   r   r-   r-   J   s        9999r   r-   c                       e Zd ZdZdS )InvalidSchemaz"See defaults.py for valid schemas.Nr   r   r   r   r/   r/   N   s        ,,,,r   r/   c                       e Zd ZdZdS )
InvalidURLz' The URL provided was somehow invalid. Nr   r   r   r   r1   r1   R   s        1111r   r1   c                       e Zd ZdZdS )ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nr   r   r   r   r3   r3   V   s        IIIIr   r3   c                       e Zd ZdZdS )ContentDecodingErrorz!Failed to decode response contentNr   r   r   r   r5   r5   Z   s        ++++r   r5   c                       e Zd ZdZdS )StreamConsumedErrorz2The content for this response was already consumedNr   r   r   r   r7   r7   ^   s        <<<<r   r7   c                       e Zd ZdZdS )
RetryErrorzCustom retries logic failedNr   r   r   r   r9   r9   b   s        %%%%r   r9   N)r   packages.urllib3.exceptionsr   BaseHTTPErrorIOErrorr   r   r   r!   r#   r%   r'   r)   r+   
ValueErrorr-   r/   r1   r3   r5   	TypeErrorr7   r9   r   r   r   <module>r?      s(    D C C C C C@ @ @ @ @w @ @ @"" " " " "  " " "' ' ' ' '& ' ' '" " " " " " " "! ! ! ! ! ! ! !           _g   K K K K K' K K K5 5 5 5 5" 5 5 5    '   : : : : :$j : : :- - - - -$j - - -2 2 2 2 2!: 2 2 2J J J J J+ J J J, , , , ,+] , , ,= = = = =*I = = =& & & & &! & & & & &r   