
    	]j.                         d Z 	 ddlmZ ddlmZ  G d de      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y)InvalidPathErrorz2Raised when the provided path string is malformed.N)__name__
__module____qualname____doc__     I/root/env/lib/python3.12/site-packages/google/cloud/storage/exceptions.pyr   r   $   s    <r   r   c                   "     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      r   r   zInvalidResponse.__init__3   s4    '94Gd#$DMKGX--r   r   r   r	   r
   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__E   s4    &)3Gd#$DMKGX--r   r   r   s   @r   r   r   <   r   r   r   N)	r
   google.resumable_mediar   r   r   r    ImportErrorr   r   r   r   r   <module>r#      sX    (,VT	y 	.2 .$.0 .;  ,#, "+,s   2 	>>