comparison 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
comparison
equal deleted inserted replaced
84:02708dbbe449 85:581937911d14
311 return "Another plugin has already registered a custom database back-end"; 311 return "Another plugin has already registered a custom database back-end";
312 312
313 case ErrorCode_DatabaseNotInitialized: 313 case ErrorCode_DatabaseNotInitialized:
314 return "Plugin trying to call the database during its initialization"; 314 return "Plugin trying to call the database during its initialization";
315 315
316 default: 316 case ErrorCode_SslDisabled:
317 return "Unknown error code"; 317 return "Orthanc has been built without SSL support";
318
319 case ErrorCode_CannotOrderSlices:
320 return "Unable to order the slices of the series";
321
322 default:
323 if (error >= ErrorCode_START_PLUGINS)
324 {
325 return "Error encountered within some plugin";
326 }
327 else
328 {
329 return "Unknown error code";
330 }
318 } 331 }
319 } 332 }
320 333
321 334
322 const char* EnumerationToString(HttpMethod method) 335 const char* EnumerationToString(HttpMethod method)