[#190] status: add Container section and CONTAINER_NOT_FOUND code

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-02-09 13:36:32 +03:00 committed by LeL
parent 5f53a683d1
commit 31b7b073c2

View file

@ -67,6 +67,9 @@ enum Section {
// Object service-specific errors. // Object service-specific errors.
SECTION_OBJECT = 2; SECTION_OBJECT = 2;
// Container service-specific errors.
SECTION_CONTAINER = 3;
} }
// Section of NeoFS successful return codes. // Section of NeoFS successful return codes.
@ -100,4 +103,9 @@ enum Object {
// [**2049**] Object not found. // [**2049**] Object not found.
OBJECT_NOT_FOUND = 1; OBJECT_NOT_FOUND = 1;
} }
// Section of statuses for container-related operations.
enum Container {
// [**3072**] Container not found.
CONTAINER_NOT_FOUND = 0;
} }