diff Core/Enumerations.cpp @ 2132:a43708636890

ErrorCode_NotEnoughMemory and ErrorCode_NullPointer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 10:19:53 +0100
parents 7a969f235adf
children 15ae532af70e
line wrap: on
line diff
--- a/Core/Enumerations.cpp	Tue Nov 08 10:49:45 2016 +0100
+++ b/Core/Enumerations.cpp	Wed Nov 09 10:19:53 2016 +0100
@@ -156,6 +156,12 @@
       case ErrorCode_NotAcceptable:
         return "Cannot send a response which is acceptable according to the Accept HTTP header";
 
+      case ErrorCode_NotEnoughMemory:
+        return "The server hosting Orthanc is running out of memory";
+
+      case ErrorCode_NullPointer:
+        return "Cannot handle a NULL pointer";
+
       case ErrorCode_SQLiteNotOpened:
         return "SQLite: The database is not opened";