5/9e]ddlmZddlmZGddeZGddeZGddeZGd d eZd S) )absolute_import)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__py/clwizard/exceptions.pyrr s  Dr rc"eZdZdZfdZxZS)PackageMissingErrorzg Exception that should be raised when we are missing some required package for wizard work ctt|tdt|dS)NziThis module requires '%(package)s' package, but it is missing in system. Please install it and try again.)packagemessagecontext)superr__init__dict)selfr __class__s rrzPackageMissingError.__init__sU !4((11$M)))3 3 3      r rr r r r __classcell__rs@rrrB         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. c tt|tdt||dS)NzGModule "%(module)s" can't be cancelled as it is in status "%(status)s".)modulestatusr)rr rr)rr"r#rs rrzCancelModuleException.__init__(sW #T**33DAv6665 5 5      r rrs@rr r #rr r ceZdZdZdS)UserInterventionNeededErrorzf Exception that is raised when it is impossible to install module (package) automatically Nrr r rr%r%0s Dr r%N) __future__rclcommonr Exceptionrrr r%r r rr)s'&&&&&''''''     )         ,          .         )     r