From 6350d625b4e4627fc6886c3d7f052c67abf0989f Mon Sep 17 00:00:00 2001 From: sgdt6900 Date: Mon, 25 Dec 2017 16:13:21 +0200 Subject: adding comments for the cases should be handled for configuration module refactoring url of component port to match same pattern integrating request wrapper adding validation for the key in the object before accessing it update some conditions uncomment required test cases after validation done Change-Id: I5f0e22ca4fd803992c051ec238f91ed0703cd1a2 Signed-off-by: sgdt6900 --- python_moonutilities/python_moonutilities/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python_moonutilities/python_moonutilities/exceptions.py') diff --git a/python_moonutilities/python_moonutilities/exceptions.py b/python_moonutilities/python_moonutilities/exceptions.py index f14d6abf..8bcca72e 100644 --- a/python_moonutilities/python_moonutilities/exceptions.py +++ b/python_moonutilities/python_moonutilities/exceptions.py @@ -504,6 +504,11 @@ class ConsulComponentNotFound(ConsulError): title = 'Consul error' logger = "WARNING" +class ConsulComponentContentError(ConsulError): + description = _("invalid content of component .") + code = 500 + title = 'Consul error' + logger = "WARNING" # Containers exceptions -- cgit 1.2.3-korg