gddlmZGddeZGddeZGddeZGdd eZd S) )FormattedExceptionceZdZdZdS)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"eZdZdZfdZxZS)PackageMissingErrorzg Exception that should be raised when we are missing some required package for wizard work cTtdd|iddS)NziThis module requires '%(package)s' package, but it is missing in system. Please install it and try again.packagemessagecontextsuper__init__)selfr __class__s r rzPackageMissingError.__init__sA P!7+       r rrr r r __classcell__rs@r rrsB         r rc"eZdZdZfdZxZS)CancelModuleExceptionz Error that is raised when it is not permitted to cancel module installation, e.g. module is installing at the moment. cVtd||dddS)NzGModule "%(module)s" can't be cancelled as it is in status "%(status)s".)modulestatusrr)rr r!rs r rzCancelModuleException.__init__(sA a"(F;;       r rrs@r rr#sB         r rceZdZdZdS)UserInterventionNeededErrorzf Exception that is raised when it is impossible to install module (package) automatically Nrr r r r#r#/s Dr r#N)clcommonr Exceptionrrrr#r r r r&s('''''     )         ,          .         )     r