
                         d   S r SSKJr   " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S	 S
\R                  5      r " S S\R                  5      r	 " S S\R                  5      r
 " S S\R                  5      r " S S\R                  5      rg)z&Policy Controller-Specific exceptions.    )
exceptionsc                       \ rS rSrSrSrg)InvalidMonitoringBackendError   zFor when the API message for the monitoring backend isn't available.

This may be due to a mismatch between what the API proto supports and what
the gcloud SDK expects to support (constants.MONITORING_BACKEND).
 N__name__
__module____qualname____firstlineno____doc____static_attributes__r       Mlib/googlecloudsdk/command_lib/container/fleet/policycontroller/exceptions.pyr   r          r   r   c                       \ rS rSrSrSrg)InvalidPocoMembershipError   zGFor when the Policy Controller feature is not enabled for a membership.r   Nr   r   r   r   r   r      s    Or   r   c                       \ rS rSrSrSrg) MultiInvalidPocoMembershipsError!   zDFor when multiple memberships do not have Policy Controller enabled.r   Nr   r   r   r   r   r   !   s    Lr   r   c                       \ rS rSrSrSrg)
MutexError%   z4For when two mutually exclusive flags are specified.r   Nr   r   r   r   r   r   %   s    <r   r   c                       \ rS rSrSrSrg)NoSuchContentError)   zFor when trying to configure unsupported or missing content.

For instance, if the user attempts to install a bundle that doesn't exist or
isn't supported, this error should be thrown.
r   Nr   r   r   r   r   r   )   r   r   r   c                       \ rS rSrSrSrg)SafetyError1   a  For when a safety check is required, but redundent.

If this is thrown it means some other check failed. For example, a required
argparse argument should never be None - argparse should throw an error if it
is not passed - but safety requires we rule out the None value in later code.
r   Nr   r   r   r   r   r   1   s    r   r   c                       \ rS rSrSrSrg)InvalidConfigYaml:   zFFor when a membership configuration is invalid or could not be parsed.r   Nr   r   r   r   r"   r"   :   s    Nr   r"   c                       \ rS rSrSrSrg)MissingFleetDefaultMemberConfig>   zAFor when the fleet default member config is required but missing.r   Nr   r   r   r   r%   r%   >   s    Ir   r%   N)r   googlecloudsdk.corer   Errorr   r   
MultiErrorr   r   r   r   r"   r%   r   r   r   <module>r*      s    - +J$4$4 P!1!1 PMz'<'< M=!! =)) *"" O
(( OJj&6&6 Jr   