
    Ѯh
                     l    d Z 	 ddlmZ ddlmZ  G d de      Z G d de      Zy# e$ r eZeZY "w xY w)	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                 f    t         t        u rt        |   |  || _        y t        |   |g|  y N)InvalidResponseDynamicParent	Exceptionsuper__init__responseselfr   args	__class__s      q/home/www/academy-backend.kofcorporation.com/venv/lib/python3.12/site-packages/google/cloud/storage/exceptions.pyr   zInvalidResponse.__init__-   s4    '94Gd#$DMKGX--    __name__
__module____qualname____doc__r   __classcell__r   s   @r   r   r   $       . .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                 f    t         t        u rt        |   |  || _        y t        |   |g|  y r   )DataCorruptionDynamicParentr	   r
   r   r   r   s      r   r   zDataCorruption.__init__?   s4    &)3Gd#$DMKG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!      sL    (,VT.2 .$.0 ./  ,#, "+,s   ' 	33