Implement YAML Validator
[sdc.git] / catalog-be / src / main / resources / config / error-configuration.yaml
index 7589511..d77f98e 100644 (file)
@@ -2886,4 +2886,12 @@ errors:
         code: 409,
         message: "System deployed %1 cannot be archived. Component: '%2'",
         messageId: "SVC4018"
-    }
\ No newline at end of file
+    }
+
+    #---------SVC4010-----------------------------
+    # %1 - error's list
+    YAML_IS_INVALID: {
+        code: 402,
+        message: "Error: Uploaded YAML file is invalid.\n%1",
+        messageId: "SVC4010"
+    }