TFTP errors

Created new errors, InternalFailure and
InvalidArgument, in Common.errors.yaml.
These errors are used in TFTP.interface.yaml.

Change-Id: I2aa3e7bf57b2562945efdd9efba19b4551a7c0b1
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/xyz/openbmc_project/Common.errors.yaml b/xyz/openbmc_project/Common.errors.yaml
index 3024682..4dd9311 100644
--- a/xyz/openbmc_project/Common.errors.yaml
+++ b/xyz/openbmc_project/Common.errors.yaml
@@ -1,2 +1,9 @@
 - name: Timeout
-  description: Operation timed out
+  description: >
+    Operation timed out.
+- name: InternalFailure
+  description: >
+    The operation failed internally.
+- name: InvalidArgument
+  description: >
+    Invalid argument was given.
diff --git a/xyz/openbmc_project/Common.metadata.yaml b/xyz/openbmc_project/Common.metadata.yaml
index c4a651d..1c45f45 100644
--- a/xyz/openbmc_project/Common.metadata.yaml
+++ b/xyz/openbmc_project/Common.metadata.yaml
@@ -2,3 +2,9 @@
   meta:
     - str: "TIMEOUT_IN_MSEC=%llu"
       type: uint64
+- name: InvalidArgument
+  meta:
+    - str: "ARGUMENT_NAME=%s"
+      type: string
+    - str: "ARGUMENT_VALUE=%s"
+      type: string
diff --git a/xyz/openbmc_project/Common/TFTP.interface.yaml b/xyz/openbmc_project/Common/TFTP.interface.yaml
index 0a4665a..9a1b061 100644
--- a/xyz/openbmc_project/Common/TFTP.interface.yaml
+++ b/xyz/openbmc_project/Common/TFTP.interface.yaml
@@ -13,3 +13,6 @@
           type: string
           description: >
             The TFTP Server IP Address.
+      errors:
+        - xyz.openbmc_project.Common.Error.InternalFailure
+        - xyz.openbmc_project.Common.Error.InvalidArgument