diff Orthanc/Core/Enumerations.cpp @ 85:581937911d14

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Oct 2015 17:51:49 +0200
parents 56a016ae8090
children bc05500ea317
line wrap: on
line diff
--- a/Orthanc/Core/Enumerations.cpp	Tue Oct 13 17:49:27 2015 +0200
+++ b/Orthanc/Core/Enumerations.cpp	Tue Oct 13 17:51:49 2015 +0200
@@ -313,8 +313,21 @@
       case ErrorCode_DatabaseNotInitialized:
         return "Plugin trying to call the database during its initialization";
 
+      case ErrorCode_SslDisabled:
+        return "Orthanc has been built without SSL support";
+
+      case ErrorCode_CannotOrderSlices:
+        return "Unable to order the slices of the series";
+
       default:
-        return "Unknown error code";
+        if (error >= ErrorCode_START_PLUGINS)
+        {
+          return "Error encountered within some plugin";
+        }
+        else
+        {
+          return "Unknown error code";
+        }
     }
   }