forked from TrueCloudLab/frostfs-api
[#190] status: add Container section and CONTAINER_NOT_FOUND code
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5f53a683d1
commit
31b7b073c2
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in a new issue