Create error log on fail

Use elog to create error log on fail.
Resolves openbmc/openbmc#1352

Change-Id: I1c362390110c5b3fcae3335a0bd0a7dd11540883
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/xyz/openbmc_project/Software/Version.errors.yaml b/xyz/openbmc_project/Software/Version.errors.yaml
new file mode 100644
index 0000000..67d6c20
--- /dev/null
+++ b/xyz/openbmc_project/Software/Version.errors.yaml
@@ -0,0 +1,6 @@
+- name: UnTarFailure
+  description: An error occurred during untar.
+- name: ManifestFileFailure
+  description: An error when reading the Manifest file.
+- name: InternalFailure
+  description: The operation failed internally during processing the image.