Hacked By AnonymousFox

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

�

��f����ddlmZddlmZGd�de��ZGd�de��ZGd�de��ZGd	�d
e��ZdS)�)�absolute_import)�FormattedExceptionc��eZdZdS)�BaseConfigErrorN)�__name__�
__module__�__qualname__���Q/opt/cloudlinux/venv/lib64/python3.11/site-packages/clwizard/config/exceptions.pyrr
s�������Drrc�"��eZdZdZ�fd�Z�xZS)�MalformedConfigErrorzO
    Error that is raised when config is
    malformed and cannot be read.
    c���tt|���td�|�������dS)NzTConfig file: {} is corrupted, try to run wizard again or contact CloudLinux support.)�message)�superr�__init__�dict�format)�self�config_path�	__class__s  �rrzMalformedConfigError.__init__sS���
�"�D�)�)�2�2�4�5�5;�V�K�5H�5H�4
�4
�4
�	�	�	�	�	r�rrr	�__doc__r�
__classcell__�rs@rrr�B�����������������rrc�"��eZdZdZ�fd�Z�xZS)�NoSuchModulezv
    Error that is raised when we are trying to get state
    or options for module from config, but it is absent
    c���tt|���tdt|��������dS)Nz&No such module "%(module)s" in config.)�module�r�context)rrrr)rr rs  �rrzNoSuchModule.__init__"sQ���
�l�D�!�!�*�*�4�<���'�'�'�,
�,
�,
�	�	�	�	�	rrrs@rrrrrrc���eZdZ�fd�Z�xZS)�UnableAcquireLockErrorc���tt|���tdt|��������dS)Nz<Unable to acquire lock for config due to error: "%(error)s".)�errorr!)rr$rr)r�
error_messagers  �rrzUnableAcquireLockError.__init__*sR���
�$�d�+�+�4�4�T�R��}�-�-�-�6
�6
�6
�	�	�	�	�	r)rrr	rrrs@rr$r$)s8���������������rr$N)�
__future__r�clcommonrrrrr$r
rr�<module>r*s���'�&�&�&�&�&�'�'�'�'�'�'�	�	�	�	�	�(�	�	�	�	�	�	�	�	�?�	�	�	�	�	�	�	�	�?�	�	�	������_�����r

Hacked By AnonymousFox1.0, Coded By AnonymousFox