
    /Jf                        d dl Z G d de          Z G d de          Z G d de          Z G d d	eej        j                  Z G d
 deej        j                  Z	 G d de          Z
 G d de          Z G d de          Z G d de          ZeZ G d de          Z G d de          Z G d de          ZdS )    Nc                       e Zd ZdZdS )
Boto3Errorz Base class for all Boto3 errors.N__name__
__module____qualname____doc__     S/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/boto3/exceptions.pyr   r      s        ****r   r   c                       e Zd ZdS )ResourceLoadExceptionNr   r   r   r
   r   r   r   r              Dr   r   c                       e Zd ZdS )NoVersionFoundNr   r
   r   r   r   r      r   r   r   c                       e Zd Zd ZdS )UnknownAPIVersionErrorc                 R    d| d| d| }t                               | |           d S )NzThe 'z/' resource does not support an API version of: z
Valid API versions are: )r   __init__)selfservice_namebad_api_versionavailable_api_versionsmsgs        r   r   zUnknownAPIVersionError.__init__)   sW    @L @ @Q` @ @'=@ @ 	 	D#&&&&&r   N)r   r   r   r   r
   r   r   r   r   &   s#        ' ' ' ' 'r   r   c                       e Zd ZdZd ZdS )ResourceNotExistsErrorzARaised when you attempt to create a resource that does not exist.c                     d                     |d                    |                    }|r| d| d| d}t                              | |           d S )NzGThe '{}' resource does not exist.
The available resources are:
   - {}
z
   - z 
Consider using a boto3.client('z') instead of a resource for '')formatjoinr   r   )r   r   available_serviceshas_low_level_clientr   s        r   r   zResourceNotExistsError.__init__8   s    inn-?@@  	   	 > > > >.:> > >  	D#&&&&&r   Nr   r   r   r	   r   r
   r   r   r   r   3   s,         LK' ' ' ' 'r   r   c                         e Zd Zd fd	Z xZS )RetriesExceededErrorMax Retries Exceededc                 X    t                                          |           || _        d S )N)superr   last_exception)r   r*   r   	__class__s      r   r   zRetriesExceededError.__init__K   s)    ,r   )r'   )r   r   r   r   __classcell__)r+   s   @r   r&   r&   J   s=        - - - - - - - - - -r   r&   c                       e Zd ZdS )S3TransferFailedErrorNr   r
   r   r   r.   r.   P   r   r   r.   c                       e Zd ZdS )S3UploadFailedErrorNr   r
   r   r   r0   r0   T   r   r   r0   c                       e Zd ZdZd ZdS )"DynamoDBOperationNotSupportedErrorz<Raised for operations that are not supported for an operand.c                 l    | d| dt          |           d}t                              | |           d S )Nz& operation cannot be applied to value 	 of type zo directly. Must use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances first.type	Exceptionr   )r   	operationvaluer   s       r   r   z+DynamoDBOperationNotSupportedError.__init__[   s]     N N N NE{{N N N 	
 	4%%%%%r   Nr$   r
   r   r   r2   r2   X   s)        FF& & & & &r   r2   c                       e Zd ZdZd ZdS )DynamoDBNeedsConditionErrorz$Raised when input is not a conditionc                 h    d| dt          |           d}t                              | |           d S )Nz&Expecting a ConditionBase object. Got r4   z[. Use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances.r5   )r   r9   r   s      r   r   z$DynamoDBNeedsConditionError.__init__k   sM    1U 1 1T%[[ 1 1 1 	
 	4%%%%%r   Nr$   r
   r   r   r;   r;   h   s)        ..& & & & &r   r;   c                       e Zd ZdS )DynamoDBNeedsKeyConditionErrorNr   r
   r   r   r>   r>   t   r   r   r>   c                       e Zd ZdZdS )PythonDeprecationWarningz{
    Python version being used is scheduled to become unsupported
    in an future release. See warning for specifics.
    Nr   r
   r   r   r@   r@   x   s         
 	Dr   r@   )botocore.exceptionsbotocorer7   r   r   r   
exceptionsDataNotFoundErrorr   r   r&   r.   r0   r2   #DynanmoDBOperationNotSupportedErrorr;   r>   Warningr@   r
   r   r   <module>rG      s0      + + + + + + + +	 	 	 	 	J 	 	 		 	 	 	 	Z 	 	 	
' 
' 
' 
' 
'#5
' 
' 
'' ' ' ' '#5' ' '.- - - - -: - - -	 	 	 	 	J 	 	 		 	 	 	 	* 	 	 		& 	& 	& 	& 	& 	& 	& 	& 'I #	& 	& 	& 	& 	&* 	& 	& 	&	 	 	 	 	Z 	 	 		 	 	 	 	w 	 	 	 	 	r   