Add errors to User/AccountPolicy interface

Setting properties in this interface could fail to due to internal
failures.

Change-Id: Ibec355b3d6adf5d46651e9d90aa542b9cde47a88
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
diff --git a/xyz/openbmc_project/User/AccountPolicy.interface.yaml b/xyz/openbmc_project/User/AccountPolicy.interface.yaml
index 9397f4b..9e81b08 100644
--- a/xyz/openbmc_project/User/AccountPolicy.interface.yaml
+++ b/xyz/openbmc_project/User/AccountPolicy.interface.yaml
@@ -8,6 +8,8 @@
           Configures the maximum permissible attempt before locking
           out the user. Value of 0 indicates that account lockout
           feature is disabled.
+      errors:
+          - xyz.openbmc_project.Common.Error.InternalFailure
 
     - name: AccountUnlockTimeout
       type: uint32
@@ -15,6 +17,8 @@
           Configures timeout needed (in seconds) to unlock the account
           after a lockout. Value of 0 indicates that account must be
           unlocked manually.
+      errors:
+          - xyz.openbmc_project.Common.Error.InternalFailure
 
     - name: MinPasswordLength
       type: byte
@@ -23,6 +27,8 @@
           specified in build time is marked as default value. This property
           cannot be configured below the build time default value but can be
           set to higher one for security reasons.
+      errors:
+          - xyz.openbmc_project.Common.Error.InternalFailure
 
     - name: RememberOldPasswordTimes
       type: byte
@@ -30,4 +36,6 @@
           Configures the number of times old password shouldn't be allowed
           when trying to update new password. Value of 0 (by default) indicates
           this feature is not enforced.
+      errors:
+          - xyz.openbmc_project.Common.Error.InternalFailure
 # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4