DeleteAll and Delete: Added additional errors

The system or object may not be in a state to delete the object
either "permanently" or "temporarily" so the added errors
can be used accordingly by the object implementor.

- xyz.openbmc_project.Common.Error.NotAllowed
  - If the object cannot be deleted permanently.
- xyz.openbmc_project.Common.Error.Unavailable
  - If the object cannot be deleted temporarily.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I1896dba4b936c263880244ee0f8b5248298ab5d1
diff --git a/yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml b/yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml
index eba6b5f..9bb7d35 100755
--- a/yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml
+++ b/yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml
@@ -4,3 +4,6 @@
     - name: DeleteAll
       description: >
          Delete all objects in the collection.
+      errors:
+        - xyz.openbmc_project.Common.Error.NotAllowed
+        - xyz.openbmc_project.Common.Error.Unavailable