Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/clwizard/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/clwizard/__pycache__/exceptions.cpython-311.pyc

�

��f]���ddlmZddlmZGd�de��ZGd�de��ZGd�de��ZGd	�d
e��ZdS)�)�absolute_import)�FormattedExceptionc��eZdZdZdS)�InstallationFailedExceptionz�
    Exception that should be raised to signal
    that some bad error happened during installation
    and user should review log files
    N��__name__�
__module__�__qualname__�__doc__���J/opt/cloudlinux/venv/lib64/python3.11/site-packages/clwizard/exceptions.pyrr
s��������
	�Dr
rc�"��eZdZdZ�fd�Z�xZS)�PackageMissingErrorzg
    Exception that should be raised when we are missing
    some required package for wizard work
    c���tt|���tdt|��������dS)NziThis module requires '%(package)s' package, but it is missing in system. Please install it and try again.)�package��message�context)�superr�__init__�dict)�selfr�	__class__s  �rrzPackageMissingError.__init__sU���
�!�4�(�(�1�1�$�M���)�)�)�3
�3
�3
�	�	�	�	�	r
�rr	r
rr�
__classcell__�rs@rrr�B�����������������r
rc�"��eZdZdZ�fd�Z�xZS)�CancelModuleExceptionz�
    Error that is raised when it is not permitted to cancel module
    installation, e.g. module is installing at the moment.
    c	���tt|���tdt||��������dS)NzGModule "%(module)s" can't be cancelled as it is in status "%(status)s".)�module�statusr)rr rr)rr"r#rs   �rrzCancelModuleException.__init__(sW���
�#�T�*�*�3�3�D�A���v�6�6�6�5
�5
�5
�	�	�	�	�	r
rrs@rr r #rr
r c��eZdZdZdS)�UserInterventionNeededErrorzf
    Exception that is raised when it is impossible to install module
    (package) automatically
    Nrrr
rr%r%0s��������	�Dr
r%N)	�
__future__r�clcommonr�	Exceptionrrr r%rr
r�<module>r)s���'�&�&�&�&�&�'�'�'�'�'�'�	�	�	�	�	�)�	�	�	�
�
�
�
�
�,�
�
�
�
�
�
�
�
�.�
�
�
�	�	�	�	�	�)�	�	�	�	�	r

Hacked By AnonymousFox1.0, Coded By AnonymousFox