
    &`i[                         d dl mZ e G d de                      Z G d de          Z G d de          Z G d d	e          Z G d
 de          Z G d de          ZdS )    )	PublicAPIc                       e Zd ZdZdS )	TuneErrorz'General error class raised by ray.tune.N__name__
__module____qualname____doc__     b/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/ray/tune/error.pyr   r      s        11Dr   r   c                       e Zd ZdZdS )_AbortTrialExecutionz3Error that indicates a trial should not be retried.Nr   r   r   r   r   r      s        ==Dr   r   c                   $    e Zd ZdZdefdZd ZdS )_SubCategoryTuneErrorzwThe more specific TuneError that happens for a certain Tune
    subroutine. For example starting/stopping a trial.
    traceback_strc                     || _         d S Nr   )selfr   s     r   __init__z_SubCategoryTuneError.__init__   s    *r   c                     | j         S r   r   )r   s    r   __str__z_SubCategoryTuneError.__str__   s    !!r   N)r   r   r	   r
   strr   r   r   r   r   r   r      sH         +c + + + +" " " " "r   r   c                       e Zd ZdZdS )_TuneStopTrialErrorz.Error that happens when stopping a tune trial.Nr   r   r   r   r   r              88Dr   r   c                       e Zd ZdZdS )_TuneStartTrialErrorz.Error that happens when starting a tune trial.Nr   r   r   r   r   r   #   r   r   r   c                       e Zd ZdZdS )_TuneNoNextExecutorEventErrorzError that happens when waiting to get the next event to
    handle from RayTrialExecutor.

    Note: RayTaskError will be raised by itself and will not be using
    this category. This category is for everything else.Nr   r   r   r   r!   r!   )   s        < < 	Dr   r!   N)	ray.util.annotationsr   	Exceptionr   r   r   r   r   r!   r   r   r   <module>r$      s,   * * * * * * 	 	 	 	 		 	 	 		 	 	 	 	9 	 	 		" 	" 	" 	" 	"I 	" 	" 	"	 	 	 	 	/ 	 	 		 	 	 	 	0 	 	 		 	 	 	 	$9 	 	 	 	 	r   