comparison 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
comparison
equal deleted inserted replaced
2131:bb199bccdc45 2132:a43708636890
154 return "The request is empty"; 154 return "The request is empty";
155 155
156 case ErrorCode_NotAcceptable: 156 case ErrorCode_NotAcceptable:
157 return "Cannot send a response which is acceptable according to the Accept HTTP header"; 157 return "Cannot send a response which is acceptable according to the Accept HTTP header";
158 158
159 case ErrorCode_NotEnoughMemory:
160 return "The server hosting Orthanc is running out of memory";
161
162 case ErrorCode_NullPointer:
163 return "Cannot handle a NULL pointer";
164
159 case ErrorCode_SQLiteNotOpened: 165 case ErrorCode_SQLiteNotOpened:
160 return "SQLite: The database is not opened"; 166 return "SQLite: The database is not opened";
161 167
162 case ErrorCode_SQLiteAlreadyOpened: 168 case ErrorCode_SQLiteAlreadyOpened:
163 return "SQLite: Connection is already open"; 169 return "SQLite: Connection is already open";