ó
    &ÝNj²	  ã                   óV  • S SK r S SKJr   " S S\5      r " S S\5      r " S S\ R                  \5      r " S	 S
\ R                  \5      r " S S\ R                  \5      r " S S\ R                  \5      r	 " S S\5      r
 " S S\
5      r " S S\5      rS\S\S\\   SS4S jrg)é    N)ÚTypec                   ó   • \ rS rSrSrSrg)ÚCryptoErroré   z,
Base exception for all nacl related errors
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    ÚL/home/mande/repo/quber/.venv/lib/python3.13/site-packages/nacl/exceptions.pyr   r      ó   † ôr   r   c                   ó   • \ rS rSrSrSrg)ÚBadSignatureErroré   z<
Raised when the signature was forged or otherwise corrupt.
r   Nr   r   r   r   r   r      r   r   r   c                   ó   • \ rS rSrSrg)ÚRuntimeErroré$   r   N©r	   r
   r   r   r   r   r   r   r   r   $   ó   † Úr   r   c                   ó   • \ rS rSrSrg)ÚAssertionErroré(   r   Nr   r   r   r   r   r   (   r   r   r   c                   ó   • \ rS rSrSrg)Ú	TypeErroré,   r   Nr   r   r   r   r   r   ,   r   r   r   c                   ó   • \ rS rSrSrg)Ú
ValueErroré0   r   Nr   r   r   r   r!   r!   0   r   r   r!   c                   ó   • \ rS rSrSrg)ÚInvalidkeyErroré4   r   Nr   r   r   r   r$   r$   4   r   r   r$   c                   ó   • \ rS rSrSrg)ÚCryptPrefixErroré8   r   Nr   r   r   r   r'   r'   8   r   r   r'   c                   ó   • \ rS rSrSrSrg)ÚUnavailableErroré<   z­
is a subclass of :class:`~nacl.exceptions.RuntimeError`, raised when
trying to call functions not available in a minimal build of
libsodium or due to hardware limitations.
r   Nr   r   r   r   r*   r*   <   s   † ñò 	r   r*   ÚcondÚargsÚkwdsÚreturnc                 ó¾   • SnUR                  S[        5      nU(       a4  [        UR                  [	        UR                  5       S   5      5      5      eU SL a  gU" U6 e)ad  
Return if a condition is true, otherwise raise a caller-configurable
:py:class:`Exception`
:param bool cond: the condition to be checked
:param sequence args: the arguments to be passed to the exception's
                      constructor
The only accepted named parameter is `raising` used to configure the
exception to be raised if `cond` is not `True`
z8check_condition() got an unexpected keyword argument {0}Úraisingr   TN)Úpopr   r   ÚformatÚreprÚpopitem)r,   r-   r.   Ú
_CHK_UNEXPr1   s        r   Úensurer7   F   sW   € ð L€Jà�h‰h�y¤.Ó1€GÞÜ˜
×)Ñ)¬$¨t¯|©|«~¸aÑ/@Ó*AÓBÓCÐCàˆt‚|ØÙ
�4ˆ.Ðr   )ÚbuiltinsÚtypingr   Ú	Exceptionr   r   r   r   r   r!   r$   r'   r*   ÚboolÚobjectr7   r   r   r   Ú<module>r=      s¾   ðó( Ý ô�)ô ô˜ô ô	�8×(Ñ(¨+ô 	ô	�X×,Ñ,¨kô 	ô	�×"Ñ" Kô 	ô	�×$Ñ$ kô 	ô	�kô 	ô	�ô 	ô	�|ô 	ð�ð ˜fð ¨d°9©oð À$õ r   