[#189] status: add Object section and ACL_DENIED code

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-02-09 13:35:24 +03:00 committed by LeL
parent 1842305116
commit 5f3fa3fdd8

View file

@ -64,6 +64,9 @@ enum Section {
// Failure codes regardless of the operation.
SECTION_FAILURE_COMMON = 1;
// Object service-specific errors.
SECTION_OBJECT = 2;
}
// Section of NeoFS successful return codes.
@ -87,3 +90,11 @@ enum CommonFail {
// unsigned integer).
WRONG_MAGIC_NUMBER = 1;
}
// Section of statuses for object-related operations.
enum Object {
// [**2048**] Access denied by ACL.
// Details:
// - [**0**] Human-readable description.
ACCESS_DENIED = 0;
}