diff OrthancServer/Sources/main.cpp @ 4608:de5e6b04442d db-changes

added ErrorCode_Revision
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Mar 2021 14:34:41 +0200
parents 2c702cfae274
children 2684544ff03c
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp	Tue Mar 30 18:10:27 2021 +0200
+++ b/OrthancServer/Sources/main.cpp	Wed Mar 31 14:34:41 2021 +0200
@@ -724,6 +724,7 @@
     PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework");
     PrintErrorCode(ErrorCode_BadRange, "Incorrect range request");
     PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried");
+    PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, indicates conflict between multiple updates");
     PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened");
     PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open");
     PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database");