comparison OrthancServer/main.cpp @ 2486:ad8f30fc28d1

new error code: DatabaseUnavailable
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 Mar 2018 15:46:47 +0100
parents 878b59270859
children fcf447be9e97
comparison
equal deleted inserted replaced
2485:a5196a7d98c6 2486:ad8f30fc28d1
571 PrintErrorCode(ErrorCode_DatabasePlugin, "The plugin implementing a custom database back-end does not fulfill the proper interface"); 571 PrintErrorCode(ErrorCode_DatabasePlugin, "The plugin implementing a custom database back-end does not fulfill the proper interface");
572 PrintErrorCode(ErrorCode_StorageAreaPlugin, "Error in the plugin implementing a custom storage area"); 572 PrintErrorCode(ErrorCode_StorageAreaPlugin, "Error in the plugin implementing a custom storage area");
573 PrintErrorCode(ErrorCode_EmptyRequest, "The request is empty"); 573 PrintErrorCode(ErrorCode_EmptyRequest, "The request is empty");
574 PrintErrorCode(ErrorCode_NotAcceptable, "Cannot send a response which is acceptable according to the Accept HTTP header"); 574 PrintErrorCode(ErrorCode_NotAcceptable, "Cannot send a response which is acceptable according to the Accept HTTP header");
575 PrintErrorCode(ErrorCode_NullPointer, "Cannot handle a NULL pointer"); 575 PrintErrorCode(ErrorCode_NullPointer, "Cannot handle a NULL pointer");
576 PrintErrorCode(ErrorCode_DatabaseUnavailable, "The database is currently not available (probably a transient situation)");
576 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); 577 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened");
577 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); 578 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open");
578 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database"); 579 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database");
579 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to"); 580 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to");
580 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command"); 581 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command");