
    `2f                     l   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y)    Nc                       e Zd ZdZy)
Boto3Errorz Base class for all Boto3 errors.N__name__
__module____qualname____doc__     P/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/boto3/exceptions.pyr   r      s    *r   r   c                       e Zd Zy)ResourceLoadExceptionNr   r   r   r
   r   r   r   r          r   r   c                       e Zd Zy)NoVersionFoundNr   r
   r   r   r   r      r   r   r   c                       e Zd Zd Zy)UnknownAPIVersionErrorc                 F    d| d| d| }t         j                  | |       y )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__)   s;    L>!PQ`Pa b''=&>@ 	 	D#&r   N)r   r   r   r   r
   r   r   r   r   &   s    'r   r   c                       e Zd ZdZd Zy)ResourceNotExistsErrorzARaised when you attempt to create a resource that does not exist.c                     dj                  |dj                  |            }|r| d| d| d}t        j                  | |       y )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-?@ 	  %8 G..:^1>  	D#&r   Nr   r   r   r	   r   r
   r   r   r   r   3   s     L'r   r   c                         e Zd Zd fd	Z xZS )RetriesExceededErrorc                 2    t         |   |       || _        y )N)superr   last_exception)r   r)   r   	__class__s      r   r   zRetriesExceededError.__init__K   s    ,r   )zMax Retries Exceeded)r   r   r   r   __classcell__)r*   s   @r   r&   r&   J   s    - -r   r&   c                       e Zd Zy)S3TransferFailedErrorNr   r
   r   r   r-   r-   P   r   r   r-   c                       e Zd Zy)S3UploadFailedErrorNr   r
   r   r   r/   r/   T   r   r   r/   c                       e Zd ZdZd Zy)"DynamoDBOperationNotSupportedErrorz<Raised for operations that are not supported for an operand.c                 X    | d| dt        |       d}t        j                  | |       y )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<    k?wiE{m MN 	
 	4%r   Nr$   r
   r   r   r1   r1   X   s
    F&r   r1   c                       e Zd ZdZd Zy)DynamoDBNeedsConditionErrorz$Raised when input is not a conditionc                 T    d| dt        |       d}t        j                  | |       y )Nz&Expecting a ConditionBase object. Got r3   z[. Use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances.r4   )r   r8   r   s      r   r   z$DynamoDBNeedsConditionError.__init__k   s5    4UG9T%[M R0 1 	
 	4%r   Nr$   r
   r   r   r:   r:   h   s
    .&r   r:   c                       e Zd Zy)DynamoDBNeedsKeyConditionErrorNr   r
   r   r   r=   r=   t   r   r   r=   c                       e Zd ZdZy)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    
 	r   r?   )botocore.exceptionsbotocorer6   r   r   r   
exceptionsDataNotFoundErrorr   r   r&   r-   r/   r1   #DynanmoDBOperationNotSupportedErrorr:   r=   Warningr?   r
   r   r   <module>rF      s    + +	J 		Z 	
'##55
''##55'.-: -	J 		* 		& 	& 'I #	&* 	&	Z 		w 	r   