summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2018-09-30 05:46:38 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-04 18:39:53 +0000
commit45c9ed0e45fc7da9ae7a366d4df3e6de301c1b1c (patch)
treec7095c86549ea8414f6a82e16f2e4236f364173b
parenta58489312b9bd804500fbee13c3259f2c92a4b17 (diff)
downloadphosphor-dbus-interfaces-45c9ed0e45fc7da9ae7a366d4df3e6de301c1b1c.zip
phosphor-dbus-interfaces-45c9ed0e45fc7da9ae7a366d4df3e6de301c1b1c.tar.gz
Declare errors in Object.Delete interface
The Delete interface can throw an InternalFailure error. Change-Id: I36c42b97d862cf534d34c6f24a14388f7304940f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--xyz/openbmc_project/Object/Delete.interface.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Object/Delete.interface.yaml b/xyz/openbmc_project/Object/Delete.interface.yaml
index bcddbeb..fa84e9c 100644
--- a/xyz/openbmc_project/Object/Delete.interface.yaml
+++ b/xyz/openbmc_project/Object/Delete.interface.yaml
@@ -4,5 +4,7 @@ methods:
- name: Delete
description: >
Delete the object implementing Delete.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud