%I: d dl mZ G d de Z G d de Z G d de Z G d d e Zd
S ) )FormattedExceptionc e Zd ZdZdS )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__ py/clwizard/exceptions.pyr r
s
Dr r c " e Zd ZdZ fdZ xZS )PackageMissingErrorzg
Exception that should be raised when we are missing
some required package for wizard work
c T t dd|id d S )NziThis module requires '%(package)s' package, but it is missing in system. Please install it and try again.packagemessagecontextsuper__init__)selfr __class__s r
r zPackageMissingError.__init__ sA
P!7+
r r r r r
r
__classcell__r s @r
r r sB r r c " e Zd ZdZ fdZ xZS )CancelModuleExceptionz
Error that is raised when it is not permitted to cancel module
installation, e.g. module is installing at the moment.
c V t d||dd d S )NzGModule "%(module)s" can't be cancelled as it is in status "%(status)s".)modulestatusr r )r r r! r s r
r zCancelModuleException.__init__( sA
a"(F;;
r r r s @r
r r # sB r r c e Zd ZdZdS )UserInterventionNeededErrorzf
Exception that is raised when it is impossible to install module
(package) automatically
Nr r r r
r# r# / s Dr r# N)clcommonr Exceptionr r r r# r r r