Object(Enable): Add the NotAllowed returned error

Implementation may throw error "NotAllowed" depends on
the context how is it used.

Change-Id: I62234ac4e875c6ef0e0fcc5bad8627ef92fba6f8
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
diff --git a/xyz/openbmc_project/Object/Enable.interface.yaml b/xyz/openbmc_project/Object/Enable.interface.yaml
index cf31849..f0a5b2f 100644
--- a/xyz/openbmc_project/Object/Enable.interface.yaml
+++ b/xyz/openbmc_project/Object/Enable.interface.yaml
@@ -18,5 +18,8 @@
     - name: Enabled
       type: boolean
       description: >
-        Whether the object is enabled or not.
+        Whether the object is enabled or not. Implementation may throw error
+        "NotAllowed" depends on the context how it is used.
       default: false
+      errors:
+        - xyz.openbmc_project.Common.Error.NotAllowed