summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Time.errors.yaml
Commit message (Collapse)AuthorAgeFilesLines
* EpocTime: Use proper errors on setting time failureLei YU2018-08-311-0/+4
Depends on the time config setting, setting property of EpochTime interface may fail, e.g. not allowed, or systemd prevents the time setting. It was using InsufficientPermission to indicate not allowed error, but it is not ideal. Use proper errors, e.g. NotAllowed for this interface, so it reports error correctly. Note that phosphor-logging now supports inherits of errors without meta. So NotAllowed is defined in Common without meta, and inherited in Time with extra meta. Change-Id: I3e660905d6bcb94680303a030eb7b1402e2f0075 Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPOWER on IntegriCloud