diff Core/Enumerations.h @ 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.h	Tue Nov 08 10:49:45 2016 +0100
+++ b/Core/Enumerations.h	Wed Nov 09 10:19:53 2016 +0100
@@ -83,6 +83,8 @@
     ErrorCode_StorageAreaPlugin = 32    /*!< Error in the plugin implementing a custom storage area */,
     ErrorCode_EmptyRequest = 33    /*!< The request is empty */,
     ErrorCode_NotAcceptable = 34    /*!< Cannot send a response which is acceptable according to the Accept HTTP header */,
+    ErrorCode_NotEnoughMemory = 35    /*!< The server hosting Orthanc is running out of memory */,
+    ErrorCode_NullPointer = 36    /*!< Cannot handle a NULL pointer */,
     ErrorCode_SQLiteNotOpened = 1000    /*!< SQLite: The database is not opened */,
     ErrorCode_SQLiteAlreadyOpened = 1001    /*!< SQLite: Connection is already open */,
     ErrorCode_SQLiteCannotOpen = 1002    /*!< SQLite: Unable to open the database */,