← back to Atmos Game

assets/gen/.venv/lib/python3.12/site-packages/filelock/__pycache__/_error.cpython-312.pyc

24 lines

�

c�bj�
��p�ddlmZGd�de�ZGd�de�ZGd�de�ZGd�d	e�Z	gd
�Z
y)�)�annotationsc�N��eZdZdZd�fd�Zdd�Zd	d�Zd	d�Zed	d��Z	�xZ
S)
�Timeoutz@Raised when the lock could not be acquired in *timeout* seconds.c�0��t�|��||_y�N)�super�__init__�
_lock_file)�self�	lock_file�	__class__s  ��f/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/filelock/_error.pyr	zTimeout.__init__s���
����#���c�4�|j|jffSr)r
r
�rs r�
__reduce__zTimeout.__reduce__s���~�~����1�1�1rc�"�d|j�d�S)NzThe file lock 'z' could not be acquired.�r
rs r�__str__zTimeout.__str__s�� ���� 1�1I�J�Jrc�N�|jj�d|j�d�S)N�(�))r
�__name__rrs r�__repr__zTimeout.__repr__s%���.�.�)�)�*�!�D�N�N�+=�Q�?�?rc��|jS)zThe path of the file lock.rrs rrzTimeout.lock_file������r)r�str�return�None)rz tuple[type[Timeout], tuple[str]]�rr)r�
__module__�__qualname__�__doc__r	rrr�propertyr�
__classcell__�r
s@rrrs0���J�$�2�K�@����rrc��eZdZdZy)�SoftFileLockLifetimeWarningzPThe configured soft-lock lifetime permits overlapping live holders after expiry.N�rr!r"r#�rrr(r(s��Zrr(c��eZdZdZy)�LeaseSettingsMismatchzTA lease contender disagrees with the published claim about how long the lease lasts.Nr)r*rrr,r,s��^rr,c�n��eZdZdZd�fd�Z		d	d�Zd
d�Zed
d��Zedd��Z	ed
d��Z
�xZS)�SoftFileLockProtocolErrorzQRaised when strict soft-lock state cannot be interpreted without risking overlap.c�j��||_||_||_t�|�|j��yr)r
�_claim_name�_reasonrr	r)rr�
claim_name�reasonr
s    �rr	z"SoftFileLockProtocolError.__init__&s,���#���%������
�������(rc�`�|j|j|j|jffSr)r
r
r0r1rs rrz$SoftFileLockProtocolError.__reduce__,s(���~�~�����1A�1A�4�<�<�P�P�Prc��|j�|jn|j�d|j��}d|�d|j��S)Nz: claim z"Invalid strict soft-lock state at z: )r0r
r1)r�locations  rrz!SoftFileLockProtocolError.__str__1sH��&*�&6�&6�&>�4�?�?�t���FW�W_�`d�`p�`p�_s�Dt��3�H�:�R����~�N�Nrc��|jS)zThe requested lock path.rrs rrz#SoftFileLockProtocolError.lock_file5rrc��|jS)z<The claim that caused the error, if scanning identified one.)r0rs rr2z$SoftFileLockProtocolError.claim_name:s�����rc��|jS)z The protocol validation failure.)r1rs rr3z SoftFileLockProtocolError.reason?s���|�|�r)rrr2�
str | Noner3rrr)rzCtuple[type[SoftFileLockProtocolError], tuple[str, str | None, str]]r )rr:)rr!r"r#r	rrr$rr2r3r%r&s@rr.r.#s\���[�)�Q�	L�Q�
O������ �� ����rr.)r,r(r.rN)�
__future__r�TimeoutErrorr�DeprecationWarningr(�
ValueErrorr,�OSErrorr.�__all__r*rr�<module>rAsE��"��l��.[�"4�[�_�J�_����D�r