Move getErrCodeMsg API to common_utility
This commit moves the getErrCodeMsg API from vpd_specific_utility to
common_utility file, to make it accessible to the other utility files.
Change-Id: Ib0aeeb2386ba2c55f2447d65a3be18b76eff46f3
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
diff --git a/vpd-manager/src/single_fab.cpp b/vpd-manager/src/single_fab.cpp
index 0b3875e..1f61165 100644
--- a/vpd-manager/src/single_fab.cpp
+++ b/vpd-manager/src/single_fab.cpp
@@ -31,8 +31,8 @@
{
throw JsonException(
"Failed to parse JSON file [ " +
- std::string(pimPersistVsbpPath) + " ], error : " +
- vpdSpecificUtility::getErrCodeMsg(l_errCode),
+ std::string(pimPersistVsbpPath) +
+ " ], error : " + commonUtility::getErrCodeMsg(l_errCode),
pimPersistVsbpPath);
}