
    y                         d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d dej                        Z G d d	ej                        Z	 G d
 dej                        Z
 G d dej                        Zy)z%Definition for errors in AI Platform.    )absolute_import)division)unicode_literals)
exceptionsc                       e Zd Zy)ArgumentErrorN)__name__
__module____qualname__     +lib/googlecloudsdk/command_lib/ai/errors.pyr   r      s    r   r   c                       e Zd ZdZy)InvalidInstancesFileErrorz6Indicates that the input file was invalid in some way.Nr	   r
   r   __doc__r   r   r   r   r      s    >r   r   c                       e Zd ZdZy)NoFieldsSpecifiedErrorzEError indicating that no updates were requested in a Patch operation.Nr   r   r   r   r   r   !   s    Mr   r   c                   "     e Zd ZdZ fdZ xZS )DockerErrorz6Exception that passes info on a failed Docker command.c                 V    t         t        |   |       || _        || _        || _        y )N)superr   __init__messagecmd	exit_code)selfr   r   r   	__class__s       r   r   zDockerError.__init__)   s'    	+t%g.DLDHDNr   )r	   r
   r   r   r   __classcell__)r   s   @r   r   r   &   s    > r   r   N)r   
__future__r   r   r   googlecloudsdk.corer   Errorr   r   r   r   r   r   r   <module>r#      s^    , &  ' *J$$ 
 0 0 
Z-- 
*"" r   