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/parser.cpp b/vpd-manager/src/parser.cpp
index e0e173b..c3f319d 100644
--- a/vpd-manager/src/parser.cpp
+++ b/vpd-manager/src/parser.cpp
@@ -43,7 +43,7 @@
         {
             logging::logMessage(
                 "Failed to get vpd offset for path [" + m_vpdFilePath +
-                "], error: " + vpdSpecificUtility::getErrCodeMsg(l_errorCode));
+                "], error: " + commonUtility::getErrCodeMsg(l_errorCode));
         }
     }
 }
@@ -137,7 +137,7 @@
         {
             throw std::runtime_error(
                 "Failed to get paths to update keyword. Error : " +
-                vpdSpecificUtility::getErrCodeMsg(l_errCode));
+                commonUtility::getErrCodeMsg(l_errCode));
         }
 
         // If inventory D-bus object path is present, update keyword's value on
@@ -217,7 +217,7 @@
 
         if (l_errCode == error_code::ERROR_GETTING_REDUNDANT_PATH)
         {
-            logging::logMessage(vpdSpecificUtility::getErrCodeMsg(l_errCode));
+            logging::logMessage(commonUtility::getErrCodeMsg(l_errCode));
         }
 
         // Update keyword's value on redundant hardware if present