From: Frank Brehm Date: Mon, 6 Sep 2021 14:10:14 +0000 (+0200) Subject: New exceptions in lib/cr_tf/errors.py X-Git-Tag: 1.5.2^2~27 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=566ff6dc0331317e0d904a619b83dbea0ec20689;p=pixelpark%2Fcreate-terraform.git New exceptions in lib/cr_tf/errors.py --- diff --git a/lib/cr_tf/errors.py b/lib/cr_tf/errors.py index cd26e34..1dda2c2 100644 --- a/lib/cr_tf/errors.py +++ b/lib/cr_tf/errors.py @@ -16,7 +16,7 @@ from fb_tools.config import ConfigError from .xlate import XLATOR -__version__ = '1.1.0' +__version__ = '1.2.0' _ = XLATOR.gettext ngettext = XLATOR.ngettext @@ -29,6 +29,20 @@ class TerraformObjectError(FbHandlerError): pass +# ============================================================================= +class TerraformHandlerError(TerraformObjectError): + """Exception because of handler errors.""" + + pass + + +# ============================================================================= +class TerraformVSphereError(TerraformObjectError): + """Exception because of VSphere configuration errors.""" + + pass + + # ============================================================================= class TerraformVmError(TerraformObjectError): """Exception class on errors evaluation VM definition for terraform."""