
    h
                     |    d Z 	 ddlmZ ddlmZ n# e$ r eZeZY nw xY w G d de          Z G d de          ZdS )	z!Exceptions raised by the library.    )InvalidResponse)DataCorruptionc                   "     e Zd ZdZ fdZ xZS )r   zError class for responses which are not in the correct state.

    Args:
        response (object): The HTTP response which caused the failure.
        args (tuple): The positional arguments typically passed to an
            exception class.
    c                     t           t          u r t                      j        |  || _        d S  t                      j        |g|R   d S N)InvalidResponseDynamicParent	Exceptionsuper__init__responseselfr   args	__class__s      c/var/www/html/e360mart/e360mart_env/lib/python3.11/site-packages/google/cloud/storage/exceptions.pyr   zInvalidResponse.__init__-   sT    '944EGGd##$DMKKEGGX-------    __name__
__module____qualname____doc__r   __classcell__r   s   @r   r   r   $   B         . . . . . . . . .r   r   c                   "     e Zd ZdZ fdZ xZS )r   zError class for corrupt media transfers.

    Args:
        response (object): The HTTP response which caused the failure.
        args (tuple): The positional arguments typically passed to an
            exception class.
    c                     t           t          u r t                      j        |  || _        d S  t                      j        |g|R   d S r   )DataCorruptionDynamicParentr	   r
   r   r   r   s      r   r   zDataCorruption.__init__?   sT    &)33EGGd##$DMKKEGGX-------r   r   r   s   @r   r   r   6   r   r   r   N)r   google.resumable_mediar   r   r   r   ImportErrorr	    r   r   <module>r!      s    ( ',VVVVVVTTTTTTT , , ,#, "+,
. . . . .2 . . .$. . . . .0 . . . . .s    	