Dump: Create: Add Unavailable error
Some types of dumps cannot be initiated when another dump
is in progress, return Unavailable error when the dump
cannot be created.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I5590181a7d6c31cd40dc1d673924b56a1a38f186
diff --git a/yaml/xyz/openbmc_project/Dump/Create.interface.yaml b/yaml/xyz/openbmc_project/Dump/Create.interface.yaml
index 9a5bf56..e8094d2 100644
--- a/yaml/xyz/openbmc_project/Dump/Create.interface.yaml
+++ b/yaml/xyz/openbmc_project/Dump/Create.interface.yaml
@@ -47,6 +47,8 @@
- xyz.openbmc_project.Dump.Create.Error.QuotaExceeded
- xyz.openbmc_project.Common.Error.NotAllowed
- xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.Unavailable
+
enumerations:
- name: CreateParameters
description: >