o
    $i                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )AnyOptionalTuple)DeveloperAPIc                
       sD   e Zd ZdZdededeeeeef  f fddZdd Z	  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                    s.   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__ a/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/ray/autoscaler/node_launch_exception.pyr      s   
zNodeLaunchException.__init__c                 C   s   | j | j| jd ffS )N)r   r   r   )r   r   r   r   
__reduce__   s   zNodeLaunchException.__reduce__)__name__
__module____qualname____doc__strr   r   r   r   r   __classcell__r   r   r   r   r      s    r   N)typingr   r   r   ray.util.annotationsr   	Exceptionr   r   r   r   r   <module>   s    