diff OrthancServer/Sources/main.cpp @ 5383:33410f14033b

new error code ForbiddenAccess
author Alain Mazy <am@osimis.io>
date Wed, 06 Sep 2023 15:57:11 +0200
parents 3de0235dedb6
children 3206537cbb56
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp	Wed Sep 06 13:05:42 2023 +0200
+++ b/OrthancServer/Sources/main.cpp	Wed Sep 06 15:57:11 2023 +0200
@@ -819,6 +819,7 @@
     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, which might indicate conflict between multiple writers");
     PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level");
+    PrintErrorCode(ErrorCode_ForbiddenAccess, "Access to a resource is forbidden");
     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");