
    ~                         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      Z	 G d
 de      Z
 G d de
      Z G d de      Zy)z&Errors for Fleet memberships commands.    )absolute_import)division)unicode_literals)
exceptionsc                   "     e Zd ZdZ fdZ xZS )InvalidFlagValueErrorz9An error raised when a flag is given an invalid argument.c                 N    dj                  |      }t        t        |   |       y )NzInvalid flag value: {})formatsuperr   __init__)selfmsgmessage	__class__s      8lib/googlecloudsdk/command_lib/container/fleet/errors.pyr   zInvalidFlagValueError.__init__   s#    &--c2G	
/8    )__name__
__module____qualname____doc__r   __classcell__)r   s   @r   r   r      s    A9 9r   r   c                       e Zd ZdZy)InvalidComplianceModezEAn error raised when the caller specifies an invalid Compliance mode.Nr   r   r   r    r   r   r   r      s    Mr   r   c                       e Zd ZdZy)MutuallyExclusiveFlagszCAn error raised when the caller specifies mutually exclusive flags.Nr   r   r   r   r   r   #   s    Kr   r   c                       e Zd ZdZy)ConfiguringDisabledCompliancezCompliance does not support disabling and configuring standards at once.

  This error is raised when the caller tries to specify the compliance mode of
  disabled along with compliance standards configuration at the same time.
  Nr   r   r   r   r   r   '       r   r   c                       e Zd ZdZy)ConfiguringMissingCompliancezCompliance does not support configuring standards without a set mode.

  This error is raised when the caller tries to configure compliance standards
  on a configuration that is neither enabled nor disabled.
  Nr   r   r   r   r"   r"   /   r    r   r"   N)r   
__future__r   r   r   googlecloudsdk.corer   Errorr   r   r   r   r"   r   r   r   <module>r&      s`    - &  ' *9J,, 9N1 NL2 L$: #8 r   