summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2017-07-11 17:22:17 +0800
committerLei YU <mine260309@gmail.com>2017-10-16 20:40:04 +0800
commit23d06af53140366be1aba634014929182897174e (patch)
treec54432a7341cbf005607a6bafe1f18f2620822f4 /xyz
parent57eab12468e6de4d2be6b81822d85cd8201e057f (diff)
downloadphosphor-time-manager-23d06af53140366be1aba634014929182897174e.tar.gz
phosphor-time-manager-23d06af53140366be1aba634014929182897174e.zip
Add repo specific errors
1. Add Internal.errors.yaml to define repo specific errors 2. Update configure.ac and Makefile.am to generate code from error yamls 3. Add elog-gen.hpp generated by elog-gen.py Change-Id: I6858f2c9f3c2100ce106d1effe7ad3f340117fec Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Time/Internal.errors.yaml3
-rw-r--r--xyz/openbmc_project/Time/Internal.metadata.yaml10
2 files changed, 13 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Time/Internal.errors.yaml b/xyz/openbmc_project/Time/Internal.errors.yaml
new file mode 100644
index 0000000..a2502ab
--- /dev/null
+++ b/xyz/openbmc_project/Time/Internal.errors.yaml
@@ -0,0 +1,3 @@
+#xyz.openbmc_project.Time.Internal.MethodError
+- name: MethodError
+ description: Failed to invoke Dbus method
diff --git a/xyz/openbmc_project/Time/Internal.metadata.yaml b/xyz/openbmc_project/Time/Internal.metadata.yaml
new file mode 100644
index 0000000..0f16c11
--- /dev/null
+++ b/xyz/openbmc_project/Time/Internal.metadata.yaml
@@ -0,0 +1,10 @@
+- name: MethodError
+ meta:
+ - str: "METHOD_NAME=%s"
+ type: string
+ - str: "PATH=%s"
+ type: string
+ - str: "INTERFACE=%s"
+ type: string
+ - str: "MISC=%s"
+ type: string
OpenPOWER on IntegriCloud