Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
5382:746a8a792a74 | 5383:33410f14033b |
---|---|
817 PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework"); | 817 PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework"); |
818 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request"); | 818 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request"); |
819 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried"); | 819 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried"); |
820 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers"); | 820 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers"); |
821 PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level"); | 821 PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level"); |
822 PrintErrorCode(ErrorCode_ForbiddenAccess, "Access to a resource is forbidden"); | |
822 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); | 823 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); |
823 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); | 824 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); |
824 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database"); | 825 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database"); |
825 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to"); | 826 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to"); |
826 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command"); | 827 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command"); |