HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/boto3/__pycache__/exceptions.cpython-310.pyc
o

/we�@s�ddlZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	eejj�ZGd
d�deejj�Z	Gdd
�d
e�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
e
ZGdd�de�ZGdd�de�ZGdd�de�ZdS)�Nc@�eZdZdZdS)�
Boto3Errorz Base class for all Boto3 errors.N��__name__�
__module__�__qualname__�__doc__�r	r	�I/home/arjun/projects/env/lib/python3.10/site-packages/boto3/exceptions.pyrsrc@�eZdZdS)�ResourceLoadExceptionN�rrrr	r	r	r
r�rc@r)�NoVersionFoundNr
r	r	r	r
rrrc@seZdZdd�ZdS)�UnknownAPIVersionErrorcCs&d|�d|�d|��}t�||�dS)NzThe 'z'' resource does not an API version of: z
Valid API versions are: )r�__init__)�self�service_name�bad_api_version�available_api_versions�msgr	r	r
r)s
��zUnknownAPIVersionError.__init__N)rrrrr	r	r	r
r&src@�eZdZdZdd�ZdS)�ResourceNotExistsErrorzARaised when you attempt to create a resource that does not exist.cCs<d�|d�|��}|r|�d|�d|�d�}t�||�dS)NzGThe '{}' resource does not exist.
The available resources are:
   - {}
z
   - z 
Consider using a boto3.client('z') instead of a resource for '�')�format�joinrr)rr�available_services�has_low_level_clientrr	r	r
r8s
����zResourceNotExistsError.__init__N�rrrrrr	r	r	r
r3srcseZdZd�fdd�	Z�ZS)�RetriesExceededError�Max Retries Exceededcst��|�||_dS)N)�superr�last_exception)rr"r��	__class__r	r
rKs
zRetriesExceededError.__init__)r )rrrr�
__classcell__r	r	r#r
rJsrc@r)�S3TransferFailedErrorNr
r	r	r	r
r&Prr&c@r)�S3UploadFailedErrorNr
r	r	r	r
r'Trr'c@r)�"DynamoDBOperationNotSupportedErrorz<Raised for operations that are not supported for an operand.cCs*|�d|�dt|��d�}t�||�dS)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�valuerr	r	r
r[s
��z+DynamoDBOperationNotSupportedError.__init__Nrr	r	r	r
r(X�r(c@r)�DynamoDBNeedsConditionErrorz$Raised when input is not a conditioncCs&d|�dt|��d�}t�||�dS)Nz&Expecting a ConditionBase object. Got r)z[. Use AttributeBase object methods (i.e. Attr().eq()). to generate ConditionBase instances.r*)rr.rr	r	r
rks�z$DynamoDBNeedsConditionError.__init__Nrr	r	r	r
r0hr/r0c@r)�DynamoDBNeedsKeyConditionErrorNr
r	r	r	r
r1trr1c@r)�PythonDeprecationWarningz{
    Python version being used is scheduled to become unsupported
    in an future release. See warning for specifics.
    Nrr	r	r	r
r2xsr2)�botocore.exceptions�botocorer,rrr�
exceptions�DataNotFoundErrorrrrr&r'r(�#DynanmoDBOperationNotSupportedErrorr0r1�Warningr2r	r	r	r
�<module>s$
	�

�