Add the .Error. segment to error names
Add the '.Error.' segment in the hardcoded error name strings to match
the standard. This way the ReadFailure error string also matches the
error string generated by report<ReadFailure>().
Change-Id: Ieb64c9754a275ec52afee6346ab34e85c7675333
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/occ_errors.hpp b/occ_errors.hpp
index 9a59b08..d40d153 100644
--- a/occ_errors.hpp
+++ b/occ_errors.hpp
@@ -16,8 +16,8 @@
namespace fs = std::filesystem;
constexpr auto PRESENCE_ERROR_PATH =
- "org.open_power.OCC.Firmware.PresenceMismatch";
-constexpr auto SAFE_ERROR_PATH = "org.open_power.OCC.Device.SafeState";
+ "org.open_power.OCC.Firmware.Error.PresenceMismatch";
+constexpr auto SAFE_ERROR_PATH = "org.open_power.OCC.Device.Error.SafeState";
/** @class Error
* @brief Monitors for OCC device error condition