§
    “©ºjç  ã                   ój   — d dl Z d dlmZ  G d„ de¦  «        Z G d„ de¦  «        Zdeded	ed
dfd„Z	dS )é    N)ÚMisconfigurationExceptionc                   ó   — e Zd ZdZdS )ÚSIGTERMExceptiona¾  Exception used when a :class:`signal.SIGTERM` is sent to a process.

    This exception is raised by the loops at specific points. It can be used to write custom logic in the
    :meth:`pytorch_lightning.callbacks.callback.Callback.on_exception` method.

    For example, you could use the :class:`pytorch_lightning.callbacks.fault_tolerance.OnExceptionCheckpoint` callback
    that saves a checkpoint for you when this exception is raised.

    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úv/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/pytorch_lightning/utilities/exceptions.pyr   r      s   € € € € € ðð ð ð r   r   c                   ó   — e Zd ZdZdS )Ú_TunerExitExceptionz*Exception used to exit early while tuning.Nr   r   r   r   r   r      s   € € € € € Ø4Ð4Ð4Ð4r   r   Ú	exceptionÚpatternÚnew_messageÚreturnc                 óV   ‡‡— t          ˆˆfd„| j        D ¦   «         ¦  «        | _        d S )Nc              3   óŠ   •K  — | ]=}t          |t          ¦  «        r"t          j        ‰|t          j        ¦  «        r‰n|V — Œ>d S )N)Ú
isinstanceÚstrÚreÚmatchÚDOTALL)Ú.0Úargr   r   s     €€r   ú	<genexpr>z#_augment_message.<locals>.<genexpr>$   s]   øè è € ð ð Ø_b•z #¥sÑ+Ô+ÐZµ´¸À#ÅrÄyÑ0QÔ0QÐZˆˆÐWZðð ð ð ð ð r   )ÚtupleÚargs)r   r   r   s    ``r   Ú_augment_messager    #   sG   øø€ Ýð ð ð ð ð ØfoÔftðñ ô ñ ô €I„N€N€Nr   )
r   Ú%lightning_fabric.utilities.exceptionsr   Ú
SystemExitr   Ú	Exceptionr   ÚBaseExceptionr   r    r   r   r   ú<module>r%      s±   ðð 
€	€	€	à KÐ KÐ KÐ KÐ KÐ Kð	ð 	ð 	ð 	ð 	�zñ 	ô 	ð 	ð5ð 5ð 5ð 5ð 5˜)ñ 5ô 5ð 5ð ð ¸ð È#ð ÐRVð ð ð ð ð ð r   