%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/uaclient/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/uaclient/__pycache__/exceptions.cpython-312.pyc

�

�Hcf{C��J	�ddlmZmZmZddlmZGd�de�ZGd�de�ZGd�de�Z	Gd	�d
e�Z
Gd�de�ZGd
�de�Z
e
ZGd�de
�ZGd�de
�ZGd�de
�ZGd�de
�ZGd�de
�ZGd�de
�ZGd�de
�ZGd�de
�ZGd�d e
�ZGd!�d"e
�ZGd#�d$e
�ZGd%�d&e
�ZGd'�d(e
�ZGd)�d*e
�ZGd+�d,e
�ZGd-�d.e
�ZGd/�d0e
�ZGd1�d2e
�Z Gd3�d4e
�Z!Gd5�d6e
�Z"Gd7�d8e
�Z#Gd9�d:e
�Z$Gd;�d<e
�Z%Gd=�d>e%�Z&Gd?�d@e%�Z'GdA�dBe
�Z(GdC�dDe
e�Z)e)Z*GdE�dFe
�Z+GdG�dHe
�Z,GdI�dJe
�Z-GdK�dLe
�Z.GdM�dNe
�Z/GdO�dPe
�Z0GdQ�dRe
�Z1GdS�dTe
�Z2GdU�dVe
�Z3GdW�dXe
�Z4GdY�dZe
�Z5Gd[�d\e
�Z6Gd]�d^e
�Z7Gd_�d`e
�Z8Gda�dbe
�Z9Gdc�dde
�Z:Gde�dfe
�Z;Gdg�dhe
�Z<Gdi�dje
�Z=Gdk�dle
�Z>Gdm�dne
�Z?Gdo�dpe
�Z@Gdq�dre
�ZAGds�dte?�ZBGdu�dve?�ZCGdw�dxe
�ZDGdy�dze
�ZEGd{�d|e
�ZFGd}�d~e
�ZGGd�d�e
�ZHGd��d�e
�ZIGd��d�e
�ZJGd��d�e
�ZKGd��d�e
�ZLGd��d�e
�ZMGd��d�e
�ZNGd��d�e
�ZOGd��d�eO�ZPGd��d�e
�ZQGd��d�e
�ZRGd��d�eR�ZSGd��d�eR�ZTGd��d�eR�ZUGd��d�e
�ZVGd��d�e
�ZWGd��d�e
�ZXGd��d�e
�ZYGd��d�e
�ZZGd��d�e
�Z[Gd��d�e
�Z\Gd��d�e
�Z]Gd��d�e
�Z^Gd��d�e
�Z_Gd��d�e
�Z`Gd��d�e
�ZaGd��d�e
�ZbGd��d�e
�ZcGd��d�e
�ZdGd��d�e
�ZeGd��d�e
�ZfGd��d�e
�ZgGd��d�e
�ZhGd��d�e
�ZiGdÄd�e
�ZjGdńd�e
�ZkGdDŽd�e
�ZlGdɄd�e
�ZmGd˄d�e
�ZnGd̈́d�e
�ZoGdτd�e
�ZpGdфd�e
�ZqGdӄd�e
�ZrGdՄd�e
�Zsy�)��)�List�Optional�Tuple)�messagesc��eZdZy)�InPlaceUpgradeNotSupportedErrorN��__name__�
__module__�__qualname__���5/usr/lib/python3/dist-packages/uaclient/exceptions.pyrr���rrc��eZdZy)�IsProLicensePresentErrorNr	r
rrrr
rrrc��eZdZy)�CancelProLicensePollingNr	r
rrrrrrrc��eZdZy)�DelayProLicensePollingNr	r
rrrrrrrc�B��eZdZ			ddedeedededdf
�fd�
Z�xZS)	�ProcessExecutionErrorN�cmd�	exit_code�stdout�stderr�returnc����||_||_||_|s!tjj|��}n"tjj|||��}t�|�!|�y)N)r)rrr)	rrrr�SUBP_INVALID_COMMAND�format�SUBP_COMMAND_FAILED�super�__init__)�selfrrrr�message�	__class__s      �rr#zProcessExecutionError.__init__sg���������"�����3�3�:�:�s�:�C�G��2�2�9�9��9�V�:��G�	����!r)N�r')r
rr�strr�intr#�
__classcell__�r&s@rrrsL���$(���"�
�"��C�=�"��	"�
�"�
�
"�"rrc�J�eZdZdZdZdZdZdd�Zed��Z	ed��Z
d�Zy)	�UbuntuProErrorzu
    Base class for all of our custom errors.
    All possible exceptions from our API should extend this class.
    N�c���|j�"|jjdi|��|_n|j|_||_|j�D]\}}t
|||��y�Nr
)�_formatted_msgr �	named_msg�_msg�additional_info�items�setattr)r$�kwargs�key�values    rr#zUbuntuProError.__init__5sj�����*�7�T�0�0�7�7����D�N�"�Y�Y�D�N�%��� �,�,�.�	&�J�C���D�#�u�%�	&rc�.�|jjS�N�r2�msg�r$s rr=zUbuntuProError.msgBs���~�~�!�!�!rc�.�|jjSr;)r2�namer>s r�msg_codezUbuntuProError.msg_codeFs���~�~�"�"�"rc�.�|jjSr;r<r>s r�__str__zUbuntuProError.__str__Js���~�~�!�!�!r�rN)r
rr�__doc__r3r1rr#�propertyr=rArCr
rrr-r-*sJ���
�D��N��I�&��"��"��#��#�"rr-c�<��eZdZdZdej
f�fd�Z�xZS)�AnonymousUbuntuProErrorz�
    For cases where we have a NamedMessage of an Error already but it isn't in
    exception form, and we need to raise it as an exception. This generally
    should only be used in cli-only code.
    r2c�2��t�|�di|��||_yr0)r"r#r2)r$r2r7r&s   �rr#z AnonymousUbuntuProError.__init__[s���
���"�6�"�"��r)r
rrrEr�NamedMessager#r*r+s@rrHrHTs����#�(�"7�"7�#�#rrHc�$�eZdZejZy)�APTProcessConflictErrorN)r
rrr�E_APT_PROCESS_CONFLICTr3r
rrrLrLe�
���*�*�DrrLc�$�eZdZejZy)�APTInvalidRepoErrorN)r
rrr�E_APT_UPDATE_INVALID_URL_CONFIGr1r
rrrPrPi�
���=�=�NrrPc�$�eZdZejZy)�APTUpdateProcessConflictErrorN)r
rrr�E_APT_UPDATE_PROCESS_CONFLICTr3r
rrrTrTm�
���1�1�DrrTc�$�eZdZejZy)�APTUpdateInvalidRepoErrorN)r
rrr�E_APT_UPDATE_INVALID_REPOr1r
rrrXrXq�
���7�7�NrrXc�$�eZdZejZy)�APTUpdateFailedN)r
rrr�E_APT_UPDATE_FAILEDr1r
rrr\r\u�
���1�1�Nrr\c�$�eZdZejZy)�APTInstallProcessConflictErrorN)r
rrr�E_APT_INSTALL_PROCESS_CONFLICTr3r
rrr`r`ys
���2�2�Drr`c�$�eZdZejZy)�APTInstallInvalidRepoErrorN)r
rrr�E_APT_INSTALL_INVALID_REPOr1r
rrrcrc}�
���8�8�Nrrcc�$�eZdZejZy)�APTInvalidCredentialsN)r
rrr�E_APT_INVALID_CREDENTIALSr1r
rrrgrg�rZrrgc�$�eZdZejZy)�
APTTimeoutN)r
rrr�
E_APT_TIMEOUTr1r
rrrjrj��
���+�+�Nrrjc�$�eZdZejZy)�APTUnexpectedErrorN)r
rrr�E_APT_UNEXPECTED_ERRORr1r
rrrnrn��
���4�4�Nrrnc�$�eZdZejZy)�APTCommandTimeoutN)r
rrr�E_APT_COMMAND_TIMEOUTr1r
rrrrrr��
���3�3�Nrrrc�$�eZdZejZy)�SnapNotInstalledErrorN)r
rrr�E_SNAP_NOT_INSTALLED_ERRORr1r
rrrvrv�rerrvc�$�eZdZejZy)�UnexpectedSnapdAPIErrorN)r
rrr�E_UNEXPECTED_SNAPD_API_ERRORr1r
rrryry��
���:�:�Nrryc�$�eZdZejZy)�SnapdAPIConnectionRefusedN)r
rrr�E_SNAPD_CONNECTION_REFUSEDr3r
rrr}r}��
���.�.�Drr}c�$�eZdZejZy)�CannotInstallSnapdErrorN)r
rrr�E_CANNOT_INSTALL_SNAPDr3r
rrr�r��rNrr�c�$�eZdZejZy)�ErrorInstallingLivepatchN)r
rrr�E_ERROR_INSTALLING_LIVEPATCHr1r
rrr�r��r{rr�c�$�eZdZejZy)�ProxyNotWorkingErrorN)r
rrr�E_NOT_SETTING_PROXY_NOT_WORKINGr1r
rrr�r��rRrr�c�$�eZdZejZy)�ProxyInvalidUrlN)r
rrr�E_NOT_SETTING_PROXY_INVALID_URLr1r
rrr�r��rRrr�c�$�eZdZejZy)�PycurlRequiredErrorN)r
rrr�E_PYCURL_REQUIREDr3r
rrr�r���
���%�%�Drr�c�$�eZdZejZy)�PycurlErrorN)r
rrr�E_PYCURL_ERRORr1r
rrr�r��s
���,�,�Nrr�c�$�eZdZejZy)�ProxyAuthenticationFailedN)r
rrr�E_PROXY_AUTH_FAILr3r
rrr�r��r�rr�c�6�eZdZejZdZdZdZd�Z	y)�ExternalAPIErrorNc�d�dj|j|j|j�S)Nz{}: [{}], {})r �code�url�bodyr>s rrCzExternalAPIError.__str__�s#���$�$�T�Y�Y����$�)�)�D�Dr)
r
rrr�E_EXTERNAL_API_ERRORr1r�r�r�rCr
rrr�r��s"���2�2�N��D�
�C��D�Err�c��eZdZy)�ContractAPIErrorNr	r
rrr�r��rrr�c��eZdZy)�SecurityAPIErrorNr	r
rrr�r��rrr�c�8��eZdZejZd�fd�Z�xZS)�PycurlCACertificatesErrorc�2��t�|�di|��||_yr0)r"r#r�)r$r�r7r&s   �rr#z"PycurlCACertificatesError.__init__�s���
���"�6�"���rrD)r
rrr�E_PYCURL_CA_CERTIFICATESr3r#r*r+s@rr�r��s����,�,�D��rr�c�4�eZdZejZdedefd�Zy)�ConnectivityError�causer�c���t|dd�rtt|d��}nt|�}tj||�tj|||��||_||_y)N�reason)�cause_errorr�)�getattrr(�IOErrorr#r-r�r�)r$r�r�r�s    rr#zConnectivityError.__init__�s`��
�5�(�D�)��g�e�X�6�7�K��e�*�K�����{�+�����+�3��G�'�����rN)	r
rrr�E_CONNECTIVITY_ERRORr1�	Exceptionr(r#r
rrr�r��s$���2�2�N�����rr�c�$�eZdZejZy)�ContractExpiredErrorN)r
rrr�E_CONTRACT_EXPIREDr3r
rrr�r��s
���&�&�Drr�c�$�eZdZejZy)�InvalidServiceOpErrorN�r
rrr�E_INVALID_SERVICE_OP_FAILUREr1r
rrr�r��r{rr�c�,�eZdZdZdZejZy)�AlreadyAttachedErrorzDAn exception to be raised when a command needs an unattached system.�N)r
rrrErr�E_ALREADY_ATTACHEDr1r
rrr�r�s��N��I��0�0�Nrr�c�,�eZdZdZdZejZy)�AttachErrorz@An exception to be raised when we detect a generic attach error.r.N)r
rrrErr�E_ATTACH_FAILUREr3r
rrr�r�
s��J��I��$�$�Drr�c�$�eZdZejZy)�AttachInvalidConfigFileErrorN)r
rrr�E_ATTACH_CONFIG_READ_ERRORr1r
rrr�r�rerr�c�$�eZdZejZy)�AttachInvalidTokenErrorN)r
rrr�E_ATTACH_INVALID_TOKENr3r
rrr�r�rNrr�c�$�eZdZejZy)�AttachForbiddenExpiredN)r
rrr�E_ATTACH_FORBIDDEN_EXPIREDr1r
rrr�r�rerr�c�$�eZdZejZy)�AttachForbiddenNotYetN)r
rrr�E_ATTACH_FORBIDDEN_NOT_YETr1r
rrr�r�rerr�c�$�eZdZejZy)�AttachForbiddenNeverN)r
rrr�E_ATTACH_FORBIDDEN_NEVERr1r
rrr�r�!�
���6�6�Nrr�c�$�eZdZejZy)�AttachExpiredTokenN)r
rrr�E_ATTACH_EXPIRED_TOKENr3r
rrr�r�%rNrr�c�$�eZdZejZy)� MagicAttachTokenAlreadyActivatedN)r
rrr�&E_MAGIC_ATTACH_TOKEN_ALREADY_ACTIVATEDr3r
rrr�r�)s
���:�:�Drr�c�$�eZdZejZy)�MagicAttachTokenErrorN)r
rrr�E_MAGIC_ATTACH_TOKEN_ERRORr3r
rrr�r�-rrr�c�$�eZdZejZy)�MagicAttachUnavailableN)r
rrr�E_MAGIC_ATTACH_UNAVAILABLEr3r
rrr�r�1rrr�c�$�eZdZejZy)�MagicAttachInvalidParamN)r
rrr�E_MAGIC_ATTACH_INVALID_PARAMr1r
rrr�r�5r{rr�c�(�eZdZdZej
Zy)�MissingAptURLDirectivez@An exception for when the contract server doesn't include aptURLN)r
rrrEr�E_MISSING_APT_URL_DIRECTIVEr1r
rrr�r�9s��J��9�9�Nrr�c�(�eZdZdZej
Zy)�UnattachedErrorz>An exception to be raised when a machine needs to be attached.N)r
rrrEr�E_UNATTACHEDr3r
rrr�r�?s��H�� � �Drr�c�$�eZdZejZy)�UnattachedValidServicesErrorN)r
rrr�"E_VALID_SERVICE_FAILURE_UNATTACHEDr1r
rrr�r�E�
���@�@�Nrr�c�$�eZdZejZy)�UnattachedMixedServicesErrorN)r
rrr�#E_MIXED_SERVICES_FAILURE_UNATTACHEDr1r
rrr�r�I�
���A�A�Nrr�c�$�eZdZejZy)�UnattachedInvalidServicesErrorNr�r
rrr�r�Mr{rr�c�$�eZdZejZy)�EntitlementNotFoundErrorN)r
rrr�E_ENTITLEMENT_NOT_FOUNDr1r
rrr�r�Qs
���5�5�Nrr�c�d��eZdZdZej
Zdeee	ejff�fd�Z�xZS)�EntitlementsNotEnabledError��failed_servicesc���|D�cgc]%}|d|dj|djd���'}}t�|�
d|i��ycc}w)Nrr.)r@r��title�services)r4)r@r=r"r#)r$r��f�
info_dictsr&s    �rr#z$EntitlementsNotEnabledError.__init__Ys^���
%�
���q�T�1�Q�4�9�9�q��t�x�x�@�
�
�
�	���'��4�	�	
��	
s�*A)
r
rrrr� E_ENTITLEMENTS_NOT_ENABLED_ERRORr3rrr(rJr#r*r+s@rr�r�Us:����I��4�4�D�	
�#�E�#�x�/D�/D�*D�$E�F�	
�	
rr�c�T��eZdZejZdedejf�fd�Z�xZ	S)�EntitlementNotEnabledError�servicer�c�p��t�|�|d|j|j|jd�i��y�Nr�)r�r�r4)r�r4�r"r#r@r=r4�r$r�r�r&s   �rr#z#EntitlementNotEnabledError.__init__h�<���
�����"�K�K�#�Z�Z�'-�'=�'=���	�		
r)
r
rrr�E_ENTITLEMENT_NOT_ENABLED_ERRORr1r(rJr#r*r+s@rr�r�es,����=�=�N�

��

�X�-B�-B�

�

rr�c�T��eZdZejZdedejf�fd�Z�xZ	S)�EntitlementNotDisabledErrorr�r�c�p��t�|�|d|j|j|jd�i��yr�r�r�s   �rr#z$EntitlementNotDisabledError.__init__xrr)
r
rrr� E_ENTITLEMENT_NOT_DISABLED_ERRORr1r(rJr#r*r+s@rrrus,����>�>�N�

��

�X�-B�-B�

�

rrc�$�eZdZejZy)�AttachFailureDefaultServicesN)r
rrr�!E_ATTACH_FAILURE_DEFAULT_SERVICESr3r
rrrr�s
���5�5�Drrc�$�eZdZejZy)�AttachFailureUnknownErrorN)r
rrr�E_ATTACH_FAILURE_UNEXPECTEDr3r
rrr
r
��
���/�/�Drr
c�$�eZdZejZy)�RepoNoAptKeyN)r
rrr�E_REPO_NO_APT_KEYr1r
rrrr�s
���/�/�Nrrc�$�eZdZejZy)�RepoNoSuitesN)r
rrr�E_REPO_NO_SUITESr1r
rrrr�s
���.�.�Nrrc�$�eZdZejZy)�RepoPinFailNoOriginN)r
rrr�E_REPO_PIN_FAIL_NO_ORIGINr1r
rrrr�rZrrc�$�eZdZejZy)� InvalidContractDeltasServiceTypeN)r
rrr�&E_INVALID_CONTRACT_DELTAS_SERVICE_TYPEr1r
rrrr�s
���D�D�Nrrc�$�eZdZejZy)�%EntitlementsAPTDirectivesAreNotUniqueN)r
rrr�,E_ENTITLEMENTS_APT_DIRECTIVES_ARE_NOT_UNIQUEr1r
rrrr�s
���J�J�Nrrc�$�eZdZejZy)�RequiredServiceStopsEnableN)r
rrr�E_REQUIRED_SERVICE_STOPS_ENABLEr1r
rrrr�rRrrc�$�eZdZejZy)�IncompatibleServiceStopsEnableN)r
rrr�#E_INCOMPATIBLE_SERVICE_STOPS_ENABLEr1r
rrr r �r�rr c�$�eZdZejZy)�DependentServiceStopsDisableN)r
rrr�!E_DEPENDENT_SERVICE_STOPS_DISABLEr1r
rrr#r#�s
���?�?�Nrr#c�$�eZdZejZy)�LandscapeConfigFailedN)r
rrr�E_LANDSCAPE_CONFIG_FAILEDr3r
rrr&r&��
���-�-�Drr&c�$�eZdZejZy)�#NonInteractiveKernelPurgeDisallowedN)r
rrr�)E_NON_INTERACTIVE_KERNEL_PURGE_DISALLOWEDr3r
rrr*r*�s
���=�=�Drr*c�(�eZdZejZdZy)�InvalidProImageN)r
rrr�E_INVALID_PRO_IMAGEr1�	error_msgr
rrr-r-�s���1�1�N��Irr-c�$�eZdZejZy)�CloudMetadataErrorN)r
rrr�E_CLOUD_METADATA_ERRORr1r
rrr1r1�rprr1c�(�eZdZdZej
Zy)�GCPServiceAccountErrorz;An exception raised when GCP service account is not enabledN)r
rrrEr�$E_GCP_SERVICE_ACCT_NOT_ENABLED_ERRORr1r
rrr4r4�s��E��B�B�Nrr4c�$�eZdZejZy)�AWSNoValidIMDSN)r
rrr�E_AWS_NO_VALID_IMDSr1r
rrr7r7�r^rr7c��eZdZy)�CloudFactoryErrorNr	r
rrr:r:�rrr:c�$�eZdZejZy)�CloudFactoryNoCloudErrorN)r
rrr� E_UNABLE_TO_DETERMINE_CLOUD_TYPEr3r
rrr<r<��
���4�4�Drr<c�$�eZdZejZy)�CloudFactoryNonViableCloudErrorN)r
rrr�E_UNSUPPORTED_AUTO_ATTACHr3r
rrr@r@�r(rr@c�,�eZdZdZdZejZy)�NonAutoAttachImageErrorz>Raised when machine isn't running an auto-attach enabled imagerN)r
rrrErr�$E_UNSUPPORTED_AUTO_ATTACH_CLOUD_TYPEr1r
rrrCrC�s��H��I��B�B�NrrCc�$�eZdZejZy)�InvalidFileFormatErrorN)r
rrr�E_INVALID_FILE_FORMATr1r
rrrFrF�rtrrFc�$�eZdZejZy)�ParsingErrorOnOSReleaseFileN)r
rrr�"E_ERROR_PARSING_VERSION_OS_RELEASEr1r
rrrIrI�r�rrIc�$�eZdZejZy)�MissingSeriesOnOSReleaseFileN)r
rrr�E_MISSING_SERIES_ON_OS_RELEASEr1r
rrrLrL��
���<�<�NrrLc�$�eZdZejZy)�InvalidLockFileN)r
rrr�E_INVALID_LOCK_FILEr1r
rrrPrP�r^rrPc�$�eZdZejZy)�InvalidJsonN)r
rrr�E_JSON_PARSER_ERRORr1r
rrrSrS�r^rrSc�$�eZdZejZy)�InvalidBooleanConfigValueN)r
rrr�E_INVALID_BOOLEAN_CONFIG_VALUEr1r
rrrVrV�rNrrVc�$�eZdZejZy)�InvalidPosIntConfigValueN)r
rrr�"E_CLI_CONFIG_VALUE_MUST_BE_POS_INTr1r
rrrYrY�r�rrYc�$�eZdZejZy)�InvalidURLConfigValueN)r
rrr�E_CONFIG_INVALID_URLr1r
rrr\r\s
���2�2�Nrr\c�$�eZdZejZy)�InvalidFeatureYamlConfigValueN)r
rrr�E_CONFIG_NO_YAML_FILEr1r
rrr_r_rtrr_c�$�eZdZejZy)�InvalidProxyCombinationConfigN)r
rrr�E_INVALID_PROXY_COMBINATIONr3r
rrrbrb	rrrbc�$�eZdZejZy)�MissingDistroInfoFileN)r
rrr�E_MISSING_DISTRO_INFO_FILEr3r
rrrere
rrrec�$�eZdZejZy)�MissingSeriesInDistroInfoFileN)r
rrr�$E_MISSING_SERIES_IN_DISTRO_INFO_FILEr1r
rrrhrhs
���B�B�Nrrhc�$�eZdZejZy)�InvalidOptionCombinationN)r
rrr�E_INVALID_OPTION_COMBINATIONr1r
rrrkrkr{rrkc�$�eZdZejZy)�
NoHelpContentN)r
rrr�
E_CLI_NO_HELPr1r
rrrnrnrlrrnc�$�eZdZejZy)�InvalidSecurityIssueIdFormatN)r
rrr�#E_SECURITY_FIX_CLI_ISSUE_REGEX_FAILr1r
rrrqrq"r�rrqc�$�eZdZejZy)�InvalidArgChoiceN)r
rrr�E_CLI_VALID_CHOICESr1r
rrrtrt&r^rrtc�$�eZdZejZy)�EmptyConfigValueN)r
rrr�E_CLI_EMPTY_CONFIG_VALUEr1r
rrrwrw*r�rrwc�$�eZdZejZy)�GenericInvalidFormatN)r
rrr�E_CLI_EXPECTED_FORMATr1r
rrrzrz.rtrrzc�$�eZdZejZy)�RefreshConfigFailureN)r
rrr�E_REFRESH_CONFIG_FAILUREr3r
rrr}r}2s
���,�,�Drr}c�$�eZdZejZy)�RefreshContractFailureN)r
rrr�E_REFRESH_CONTRACT_FAILUREr3r
rrr�r�6rrr�c�$�eZdZejZy)�RefreshMessagesFailureN)r
rrr�E_REFRESH_MESSAGES_FAILUREr3r
rrr�r�:rrr�c�$�eZdZejZy)�CLIJSONFormatRequireAssumeYesN)r
rrr� E_JSON_FORMAT_REQUIRE_ASSUME_YESr3r
rrr�r�>r>rr�c�$�eZdZejZy)�CLIAttachTokenArgXORConfigN)r
rrr�E_ATTACH_TOKEN_ARG_XOR_CONFIGr3r
rrr�r�BrVrr�c�$�eZdZejZy)�CLIAPIOptionsXORDataN)r
rrr�"E_API_ERROR_ARGS_AND_DATA_TOGETHERr3r
rrr�r�Fs
���6�6�Drr�c�$�eZdZejZy)�PromptDeniedErrorN)r
rrr�E_PROMPT_DENIEDr3r
rrr�r�Js
���#�#�Drr�c�,�eZdZdZej
ZdZy)�
LockHeldErroraAn exception for when another pro operation is in progress

    :param lock_request: String of the command requesting the lock
    :param lock_holder: String of the command that currently holds the lock
    :param pid: Integer of the process id of the lock_holder
    N)r
rrrEr�E_LOCK_HELD_ERRORr1�pidr
rrr�r�Ss����/�/�N�
�Crr�c�(�eZdZdZej
Zy)�NonRootUserErrorz7An exception to be raised when a user needs to be root.N)r
rrrEr�E_NONROOT_USERr3r
rrr�r�_s��A��"�"�Drr�c�(�eZdZdZej
Zy)�SecurityAPIMetadataErrorzDAn exception raised with Security API metadata returns invalid data.N)r
rrrEr�E_SECURITY_API_INVALID_METADATAr1r
rrr�r�es��N��=�=�Nrr�c�$�eZdZejZy)�SecurityIssueNotFoundN)r
rrr�E_SECURITY_FIX_NOT_FOUND_ISSUEr1r
rrr�r�krNrr�c�$�eZdZejZy)�GPGKeyNotFoundN)r
rrr�E_GPG_KEY_NOT_FOUNDr1r
rrr�r�or^rr�N)t�typingrrr�uaclientrr�rrrrr�rr-�UserFacingErrorrHrLrPrTrXr\r`rcrgrjrnrrrvryr}r�r�r�r�r�r�r�r�r�r�r�r��UrlErrorr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrr
rrrrrrr r#r&r*r-r1r4r7r:r<r@rCrFrIrLrPrSrVrYr\r_rbrerhrkrnrqrtrwrzr}r�r�r�r�r�r�r�r�r�r�r�r
rr�<module>r�s;��(�(��	�i�	�	�y�	�	�6�	�	�5�	�"�G�"�(!"�Y�!"�N!��	#�n�	#�"+�n�+�>�.�>�2�N�2�8��8�2�n�2�3�^�3�9��9�8�N�8�,��,�5��5�4��4�9�N�9�;�n�;�/��/�+�n�+�;�~�;�>�>�>�>�n�>�&�.�&�-�.�-�&��&�E�~�E�	�'�	�	�'�	��������.��'�>�'�;�N�;�1�>�1�%�.�%�9�>�9�+�n�+�9�^�9�9�N�9�7�>�7�+��+�;�~�;�/�N�/�/�^�/�;�n�;�:�^�:�!�n�!�A�>�A�B�>�B�;�^�;�6�~�6�

�.�

� 

��

� 

�.�

� 6�#>�6�0� ;�0�0�>�0�/�>�/�8�.�8�E�~�E�K�N�K�>��>�B�^�B�@�>�@�.�N�.�>�.�>��n��
5��5�C�/�C�2�^�2�	��	�5�0�5�.�&7�.�C�/�C�4�^�4�A�.�A�=�>�=�2�n�2�2�.�2�=��=�A�~�A�3�N�3�4�N�4�0�N�0�/�N�/�C�N�C�;�~�;�,�N�,�B�>�B�2�~�2�7�~�7�4�>�4�-�>�-�/�^�/�/�^�/�5�N�5�2��2�7�>�7�$��$�	�N�	�#�~�#�>�~�>�=�N�=�2�^�2r

Zerion Mini Shell 1.0