
    &`i                     R    d dl mZmZmZ d dlmZ e G d de                      ZdS )    )AnyOptionalTuple)DeveloperAPIc            
       T     e Zd ZdZdededeeeeef                  f fdZd Z	 xZ
S )NodeLaunchExceptionzA structured exception that can be thrown by a node provider during a
    `create_node` call to pass additional information for observability.
    categorydescriptionsrc_exc_infoc                     t                                          d| d|            || _        || _        || _        dS )a;  Args:
        category: A short (<20 chars) label for the error.
        description: A longer, human readable description of the error.
        src_exc_info: The source exception info if applicable. This is a
              tuple of (type, exception, traceback) as returned by
              sys.exc_info()

        zNode Launch Exception (z): N)super__init__r	   r
   r   )selfr	   r
   r   	__class__s       x/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/ray/autoscaler/node_launch_exception.pyr   zNodeLaunchException.__init__   sK     	M8MMMMNNN &(    c                 .    | j         | j        | j        d ffS )N)r   r	   r
   )r   s    r   
__reduce__zNodeLaunchException.__reduce__   s"     N]D,d3
 	
r   )__name__
__module____qualname____doc__strr   r   r   r   r   __classcell__)r   s   @r   r   r      s         )) ) uS#s]34	) ) ) ) ) )&
 
 
 
 
 
 
r   r   N)typingr   r   r   ray.util.annotationsr   	Exceptionr    r   r   <module>r      su    ' ' ' ' ' ' ' ' ' ' - - - - - - 
 
 
 
 
) 
 
 
 
 
r   