set error code for getAllPathsToUpdateKeyword API

This commit updates getAllPathsToUpdateKeyword API to set error code in
case of error. This helps caller of API to take action based on the
error code returned from the API.

Change-Id: Id28885aee47adccb19ecdc6522a0061778ac0479
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
diff --git a/vpd-manager/include/error_codes.hpp b/vpd-manager/include/error_codes.hpp
index 60a1492..648215e 100644
--- a/vpd-manager/include/error_codes.hpp
+++ b/vpd-manager/include/error_codes.hpp
@@ -20,6 +20,9 @@
     JSON_PARSE_ERROR,
     JSON_MISSING_GPIO_INFO,
     JSON_MISSING_SERVICE_NAME,
+    REDUNDANT_PATH_NOT_FOUND,
+    ERROR_GETTING_REDUNDANT_PATH,
+    NO_EEPROM_PATH,
 
     // Generic errors.
     INVALID_INPUT_PARAMETER,
@@ -45,6 +48,10 @@
     {error_code::JSON_MISSING_GPIO_INFO, "JSON missing required GPIO info."},
     {error_code::JSON_MISSING_SERVICE_NAME,
      "JSON missing the service name for the FRU"},
+    {error_code::REDUNDANT_PATH_NOT_FOUND, "No redundant path for the FRU."},
+    {error_code::ERROR_GETTING_REDUNDANT_PATH,
+     "Error while trying to get redundant path for the FRU"},
+    {error_code::NO_EEPROM_PATH, "EEPROM path not found."},
     {error_code::DEVICE_NOT_PRESENT,
      "Presence pin read successfully but device was absent."},
     {error_code::DEVICE_PRESENCE_UNKNOWN, "Exception on presence line GPIO."},