o
    h                     @   s   zd dl mZmZmZmZ W n) ey7   G dd deZG dd deZG dd deZG dd	 d	eZY nw G d
d deZG dd deZG dd deZ	G dd deZ
G dd deZG dd deZdS )    )ProcessErrorBufferTooShortTimeoutErrorAuthenticationErrorc                   @      e Zd ZdS )r   N__name__
__module____qualname__ r   r   U/var/www/html/optinet_system/venv/lib/python3.10/site-packages/billiard/exceptions.pyr   	       r   c                   @   r   )r   Nr   r   r   r   r   r      r   r   c                   @   r   )r   Nr   r   r   r   r   r      r   r   c                   @   r   )r   Nr   r   r   r   r   r      r   r   c                   @      e Zd ZdZdd ZdS )TimeLimitExceededzAThe time limit has been exceeded and the job has been terminated.c                 C      d| j f S )NzTimeLimitExceeded%sargsselfr   r   r   __str__      zTimeLimitExceeded.__str__Nr   r	   r
   __doc__r   r   r   r   r   r      s    r   c                   @   r   )SoftTimeLimitExceededzjThe soft time limit has been exceeded. This exception is raised
    to give the task a chance to clean up.c                 C   r   )NzSoftTimeLimitExceeded%sr   r   r   r   r   r   !   r   zSoftTimeLimitExceeded.__str__Nr   r   r   r   r   r      s    r   c                   @      e Zd ZdZdS )WorkerLostErrorz3The worker processing a job has exited prematurely.Nr   r	   r
   r   r   r   r   r   r   %       r   c                   @   r   )
Terminatedz@The worker processing a job has been terminated by user request.Nr   r   r   r   r   r   )   r   r   c                   @   r   )RestartFreqExceededzRestarts too fast.Nr   r   r   r   r   r   -   r   r   c                   @   r   )CoroStopzVCoroutine exit, as opposed to StopIteration which may
    mean it should be restarted.Nr   r   r   r   r   r    1   s    r    N)multiprocessingr   r   r   r   ImportError	Exceptionr   r   r   r   r   r    r   r   r   r   <module>   s    