ó
    æk7i×  ã                   ó¤   • S SK Jr  S SKJrJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r	 " S S\5      r
g)é    )ÚAny)ÚBaseKeyValueErrorÚExtraInfoTypec                   ó   • \ rS rSrSrSrg)ÚKeyValueOperationErroré   z2Base exception for all Key-Value operation errors.© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r	   ó    Ú[/home/james-whalen/.local/lib/python3.13/site-packages/key_value/shared/errors/key_value.pyr   r      ó   † Ü<r   r   c                   ó   • \ rS rSrSrSrg)ÚSerializationErroré
   z2Raised when data cannot be serialized for storage.r	   Nr
   r	   r   r   r   r   
   r   r   r   c                   ó   • \ rS rSrSrSrg)ÚDeserializationErroré   zIRaised when stored data cannot be deserialized back to its original form.r	   Nr
   r	   r   r   r   r      s   † ÜSr   r   c                   óL   ^ • \ rS rSrSrS	S\S\S-  S\S-  4U 4S jjjrSrU =r$ )
ÚMissingKeyErroré   z,Raised when a key is missing from the store.NÚ	operationÚ
collectionÚkeyc                 ó:   >• [         TU ]  SX=(       d    SUS.S9  g )NzAA key was requested that was required but not found in the store.Údefault)r   r   r   ©ÚmessageÚ
extra_info©ÚsuperÚ__init__)Úselfr   r   r   Ú	__class__s       €r   r'   ÚMissingKeyError.__init__   s&   ø€ Ü‰ÑØWØ%.×>UÈIÐ^aÑbð 	ò 	
r   r	   )NN)	r   r   r   r   r   Ústrr'   r   Ú__classcell__©r)   s   @r   r   r      s.   ø† Ù6ñ
 #ð 
°3¸±:ð 
È3ÐQUÉ:÷ 
ö 
r   r   c                   óB   ^ • \ rS rSrSrSS\S\S-  4U 4S jjjrSrU =r	$ )	ÚInvalidTTLErroré   zRaised when a TTL is invalid.NÚttlr$   c                 óN   >• [         TU ]  SS[        U5      0U=(       d    0 ES9  g )NzA TTL is invalid.r1   r"   )r&   r'   r+   )r(   r1   r$   r)   s      €r   r'   ÚInvalidTTLError.__init__   s.   ø€ Ü‰ÑØ'Øœs 3›xÐ>¨J×,<¸"Ð>ð 	ò 	
r   r	   )N)
r   r   r   r   r   r   r   r'   r   r,   r-   s   @r   r/   r/      s#   ø† Ù'ñ
˜Cð 
¨]¸TÑ-A÷ 
ö 
r   r/   c                   ó8   ^ • \ rS rSrSrS\S\4U 4S jjrSrU =r	$ )ÚIncorrectTTLCountErroré&   z,Raised when the number of TTLs is incorrect.r1   Úcountc                 ó&   >• [         TU ]  SXS.S9  g )Nz The number of TTLs is incorrect.)r1   r7   r"   r%   )r(   r1   r7   r)   s      €r   r'   ÚIncorrectTTLCountError.__init__)   s   ø€ Ü‰ÑØ6Ø"Ñ3ð 	ò 	
r   r	   )
r   r   r   r   r   r   Úintr'   r   r,   r-   s   @r   r5   r5   &   s   ø† Ù6ð
˜Cð 
¨÷ 
õ 
r   r5   N)Útypingr   Úkey_value.shared.errors.baser   r   r   r   r   r   r/   r5   r	   r   r   Ú<module>r=      s[   ðÝ ç Iô=Ð.ô =ô=Ð/ô =ôTÐ1ô Tô
Ð,ô 
ô
Ð,ô 
ô
Ð3õ 
r   