ó
    Ú°›jŠ  ã                   óD   • S SK Jr  S SKJr   " S S5      r " S S5      rg)é    )ÚClientError)Úget_service_module_namec                   ó*   • \ rS rSr\rS rS rS rSrg)ÚBaseClientExceptionsé   c                 ó   • Xl         g)zãBase class for exceptions object on a client

:type code_to_exception: dict
:param code_to_exception: Mapping of error codes (strings) to exception
    class that should be raised when encountering a particular
    error code.
N©Ú_code_to_exception)ÚselfÚcode_to_exceptions     ÚR/home/mande/repo/quber/.venv/lib/python3.13/site-packages/botocore/errorfactory.pyÚ__init__ÚBaseClientExceptions.__init__   s
   € ð #4Õó    c                 óL   • U R                   R                  XR                  5      $ )a  Retrieves the error class based on the error code

This is helpful for identifying the exception class needing to be
caught based on the ClientError.parsed_reponse['Error']['Code'] value

:type error_code: string
:param error_code: The error code associated to a ClientError exception

:rtype: ClientError or a subclass of ClientError
:returns: The appropriate modeled exception class for that error
    code. If the error code does not match any of the known
    modeled exceptions then return a generic ClientError.
)r
   Úgetr   )r   Ú
error_codes     r   Ú	from_codeÚBaseClientExceptions.from_code   s!   € ð ×&Ñ&×*Ñ*¨:×7GÑ7GÓHÐHr   c           	      ó¸   • U R                   R                  5        Vs/ s H  nUR                  PM     nn[        U  SU SSR	                  U5       35      es  snf )Nz object has no attribute z. Valid exceptions are: z, )r
   ÚvaluesÚ__name__ÚAttributeErrorÚjoin)r   ÚnameÚexception_clsÚexception_cls_namess       r   Ú__getattr__Ú BaseClientExceptions.__getattr__.   st   € ð "&×!8Ñ!8×!?Ñ!?Ô!Aó
â!A�ð ×"Ô"Ù!Að 	ð 
ô ØˆvÐ.¨t¨fð 5&Ø&*§i¡iÐ0CÓ&DÐ%EðGó
ð 	
ùò	
s   �Ar	   N)	r   Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   r   Ú__static_attributes__© r   r   r   r      s   † Ø€Kò4òIõ 
r   r   c                   ó&   • \ rS rSrS rS rS rSrg)ÚClientExceptionsFactoryé9   c                 ó   • 0 U l         g )N©Ú_client_exceptions_cache)r   s    r   r   Ú ClientExceptionsFactory.__init__:   s
   € Ø(*ˆÕ%r   c                 ó”   • UR                   nX R                  ;  a  U R                  U5      nX0R                  U'   U R                  U   $ )aZ  Creates a ClientExceptions object for the particular service client

:type service_model: botocore.model.ServiceModel
:param service_model: The service model for the client

:rtype: object that subclasses from BaseClientExceptions
:returns: The exceptions object of a client that can be used
    to grab the various different modeled exceptions.
)Úservice_namer*   Ú_create_client_exceptions)r   Úservice_modelr-   Úclient_exceptionss       r   Úcreate_client_exceptionsÚ0ClientExceptionsFactory.create_client_exceptions=   sK   € ð %×1Ñ1ˆØ×<Ñ<Ó<Ø $× >Ñ >¸}Ó MÐØ:K×)Ñ)¨,Ñ7Ø×,Ñ,¨\Ñ:Ð:r   c                 ó  • 0 n0 nUR                    HG  n[        UR                  5      n[        U[        40 5      nXbU'   [        UR
                  5      nXcU'   MI     [        [        U5      S-   5      n[        U[        4U5      n	U	" U5      $ )NÚ
Exceptions)Úerror_shapesÚstrr   Útyper   r   r   r   )
r   r/   Ú	cls_propsr   Úerror_shapeÚexception_namer   ÚcodeÚcls_nameÚclient_exceptions_clss
             r   r.   Ú1ClientExceptionsFactory._create_client_exceptionsM   s˜   € Øˆ	ØÐØ(×5Ô5ˆKÜ  ×!1Ñ!1Ó2ˆNÜ  ´+°ÀÓDˆMØ(5�nÑ%Ü�{×-Ñ-Ó.ˆDØ&3˜dÓ#ñ 6ô Ô.¨}Ó=ÀÑLÓMˆÜ $ØÔ+Ð-¨yó!
Ðñ %Ð%6Ó7Ð7r   r)   N)r   r    r!   r"   r   r1   r.   r#   r$   r   r   r&   r&   9   s   † ò+ò;õ 8r   r&   N)Úbotocore.exceptionsr   Úbotocore.utilsr   r   r&   r$   r   r   Ú<module>rA      s"   ðõ ,Ý 2÷%
ñ %
÷P!8ò !8r   