
    k7iY                         S SK r S SK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	 " S S5      r
 " S S5      rg)    Nc                       \ rS rSrSrSrg)KeyringError   z$Base class for exceptions in keyring N__name__
__module____qualname____firstlineno____doc____static_attributes__r       H/home/james-whalen/.local/lib/python3.13/site-packages/keyring/errors.pyr   r      s    .r   r   c                       \ rS rSrSrSrg)PasswordSetError	   z&Raised when the password can't be set.r   Nr   r   r   r   r   r   	   s    0r   r   c                       \ rS rSrSrSrg)PasswordDeleteError   z*Raised when the password can't be deleted.r   Nr   r   r   r   r   r      s    4r   r   c                       \ rS rSrSrSrg)	InitError   z0Raised when the keyring could not be initialisedr   Nr   r   r   r   r   r      s    :r   r   c                       \ rS rSrSrSrg)KeyringLocked   z(Raised when the keyring failed unlockingr   Nr   r   r   r   r   r      s    2r   r   c                       \ rS rSrSrSrg)NoKeyringError   z'Raised when there is no keyring backendr   Nr   r   r   r   r   r      s    1r   r   c                   0    \ rS rSrSr\4S jrS rS rSr	g)ExceptionRaisedContext   zO
An exception-trapping context that indicates whether an exception was
raised.
c                 R    [         R                  " S[        SS9  Xl        S U l        g )NzHExceptionRaisedContext is deprecated; use `jaraco.context.ExceptionTrap`   )
stacklevel)warningswarnDeprecationWarningExpectedExceptionexc_info)selfr(   s     r   __init__ExceptionRaisedContext.__init__#   s&    V	

 "3r   c                 V    [         R                  [        5      U l        U R                  $ N)object__new__ExceptionInfor)   r*   s    r   	__enter__ ExceptionRaisedContext.__enter__,   s    }5}}r   c                     U R                   R                  " U6   U R                   R                  =(       a*    [        U R                   R                  U R                  5      $ r.   )r)   r+   type
issubclassr(   )r*   r)   s     r   __exit__ExceptionRaisedContext.__exit__0   sG    )}}!! 
jMM 6 6'
 	
r   )r(   r)   N)
r   r	   r
   r   r   	Exceptionr+   r3   r8   r   r   r   r   r    r       s    
 *3 
r   r    c                   $    \ rS rSrS rS r\rSrg)r1   7   c                 \    U(       d  [         R                  " 5       nUu  U l        U l        ng r.   )sysr)   r6   value)r*   info_s      r   r+   ExceptionInfo.__init__8   s     <<>D#' 	4:qr   c                 ,    [        U R                  5      $ )z&
Return True if an exception occurred
)boolr6   r2   s    r   __bool__ExceptionInfo.__bool__=   s     DIIr   )r6   r?   N)r   r	   r
   r   r+   rE   __nonzero__r   r   r   r   r1   r1   7   s    (
 Kr   r1   )r>   r%   r:   r   r   r   r   r   RuntimeErrorr   r    r1   r   r   r   <module>rI      si    
 /9 /1| 15, 5; ;3L 32\< 2
 
4 r   