Arragne error code
[framework/web/wrt-installer.git] / src / wrt-installer / wrt-installer.cpp
index 7521ce7..8625033 100644 (file)
@@ -745,6 +745,13 @@ void WrtInstaller::staticWrtStatusCallback(std::string tizenId,
                         tizenId.c_str(), printMsg.c_str());
                 break;
 
+            case WRT_INSTALLER_ERROR_PRIVILEGE_LEVEL_VIOLATION:
+                This->m_returnStatus = 1; //this status is specific
+                fprintf(stderr, "## wrt-installer : %s %s has failed - "
+                        "privilege level violation\n",
+                        tizenId.c_str(), printMsg.c_str());
+                break;
+
             case WRT_INSTALLER_ERROR_MENU_ICON_NOT_FOUND:
                 This->m_returnStatus = 1; //this status is specific
                 fprintf(stderr, "## wrt-installer : %s %s has failed - "
@@ -773,6 +780,13 @@ void WrtInstaller::staticWrtStatusCallback(std::string tizenId,
                         tizenId.c_str(), printMsg.c_str());
                 break;
 
+            case WRT_INSTALLER_ERROR_ARGUMENT_INVALID:
+                This->m_returnStatus = 1; //this status is specific
+                fprintf(stderr, "## wrt-installer : %s %s has failed - "
+                        "invalid argument\n",
+                        tizenId.c_str(), printMsg.c_str());
+                break;
+
             case WRT_INSTALLER_ERROR_PACKAGE_ALREADY_INSTALLED:
                 This->m_returnStatus = 1; //this status is specific
                 fprintf(stderr, "## wrt-installer : %s %s has failed - "