Skip to content
Snippets Groups Projects
Commit ff9c1241 authored by Juraj Paluba's avatar Juraj Paluba
Browse files

created exception for missing terraform stack files

parent a473c31a
No related branches found
No related tags found
No related merge requests found
......@@ -5,4 +5,5 @@ from kypo.cloud_commons.exceptions import KypoException, StackException, StackCr
InvalidTopologyDefinition
from kypo.cloud_commons.topology_elements import MAN, SecurityGroups, Link, NodeToNodeLinkPair
from kypo.cloud_commons.exceptions import KypoException, StackException, StackCreationFailed,\
InvalidTopologyDefinition
InvalidTopologyDefinition, StackNotFound
from kypo.cloud_commons.cloud_client_elements import Image, Limits, QuotaSet, HardwareUsage
......@@ -24,6 +24,13 @@ class StackCreationFailed(StackException):
pass
class StackNotFound(StackException):
"""
This exception is raised if Terraform stack directory is not found.
"""
pass
class InvalidTopologyDefinition(KypoException):
"""
This exception is raised if topology definition cannot be transformed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment