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/test/utest_json_utility.cpp b/test/utest_json_utility.cpp
index 12598da..2fea6fe 100644
--- a/test/utest_json_utility.cpp
+++ b/test/utest_json_utility.cpp
@@ -21,7 +21,7 @@
     {
         logging::logMessage(
             "Failed to parse JSON file [" + l_jsonPath +
-            "], error : " + vpdSpecificUtility::getErrCodeMsg(l_errCode));
+            "], error : " + commonUtility::getErrCodeMsg(l_errCode));
     }
 
     l_errCode = 0;
@@ -32,7 +32,7 @@
     {
         logging::logMessage(
             "Failed to check if FRU is power off only for FRU [" + l_vpdPath +
-            "], error : " + vpdSpecificUtility::getErrCodeMsg(l_errCode));
+            "], error : " + commonUtility::getErrCodeMsg(l_errCode));
     }
 
     EXPECT_TRUE(l_result);
@@ -50,7 +50,7 @@
     {
         logging::logMessage(
             "Failed to parse JSON file [" + l_jsonPath +
-            "], error : " + vpdSpecificUtility::getErrCodeMsg(l_errCode));
+            "], error : " + commonUtility::getErrCodeMsg(l_errCode));
     }
 
     l_errCode = 0;
@@ -61,7 +61,7 @@
     {
         logging::logMessage(
             "Failed to check if FRU is power off only for FRU [" + l_vpdPath +
-            "], error : " + vpdSpecificUtility::getErrCodeMsg(l_errCode));
+            "], error : " + commonUtility::getErrCodeMsg(l_errCode));
     }
 
     EXPECT_FALSE(l_result);