$88 GRAYBYTE WORDPRESS FILE MANAGER $28

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/clwizard/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/clwizard//exceptions.py
#!/opt/cloudlinux/venv/bin/python3 -bb
# coding=utf-8
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENCE.TXT
#

from clcommon import FormattedException


class InstallationFailedException(Exception):
    """
    Exception that should be raised to signal
    that some bad error happened during installation
    and user should review log files
    """
    pass


class PackageMissingError(FormattedException):
    """
    Exception that should be raised when we are missing
    some required package for wizard work
    """
    def __init__(self, package):
        super().__init__({
            'message': "This module requires '%(package)s' package, but it "
                       "is missing in system. Please install it and try again.",
            'context': {'package': package}
        })


class CancelModuleException(FormattedException):
    """
    Error that is raised when it is not permitted to cancel module
    installation, e.g. module is installing at the moment.
    """
    def __init__(self, module, status):
        super().__init__({
            'message': 'Module "%(module)s" can\'t be cancelled as it is in status "%(status)s".',
            'context': {'module': module, 'status': status}
        })


class UserInterventionNeededError(Exception):
    """
    Exception that is raised when it is impossible to install module
    (package) automatically
    """
    pass

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Dec 2025 3.08 AM
root / root
0755
__pycache__
--
16 Dec 2025 9.32 PM
root / root
0755
cli
--
16 Dec 2025 9.30 PM
root / root
0755
config
--
16 Dec 2025 9.30 PM
root / root
0755
modules
--
16 Dec 2025 9.30 PM
root / root
0755
__init__.py
0.264 KB
14 Nov 2025 9.12 PM
root / root
0644
constants.py
1.441 KB
14 Nov 2025 9.12 PM
root / root
0644
exceptions.py
1.488 KB
14 Nov 2025 9.12 PM
root / root
0644
parser.py
3.288 KB
14 Nov 2025 9.12 PM
root / root
0644
utils.py
3.124 KB
14 Nov 2025 9.12 PM
root / root
0644
wizard.py
14.61 KB
14 Nov 2025 9.12 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF