diff Orthanc/Core/Enumerations.cpp @ 82:56a016ae8090

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2015 17:38:27 +0200
parents d6da56f86e5a
children 581937911d14
line wrap: on
line diff
--- a/Orthanc/Core/Enumerations.cpp	Fri Sep 25 12:46:25 2015 +0200
+++ b/Orthanc/Core/Enumerations.cpp	Fri Oct 09 17:38:27 2015 +0200
@@ -44,6 +44,11 @@
   // "Resources/GenerateErrorCodes.py"
   const char* EnumerationToString(ErrorCode error)
   {
+    if (error >= ErrorCode_START_PLUGINS)
+    {
+      return "Error encountered within some plugin";
+    }
+
     switch (error)
     {
       case ErrorCode_InternalError: