Skip to content

Commit

Permalink
[#190] status: add Container section and CONTAINER_NOT_FOUND code
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Stratonikov <[email protected]>
  • Loading branch information
fyrchik authored and cthulhu-rider committed Feb 21, 2022
1 parent 5f53a68 commit 31b7b07
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions status/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ enum Section {

// Object service-specific errors.
SECTION_OBJECT = 2;

// Container service-specific errors.
SECTION_CONTAINER = 3;
}

// Section of NeoFS successful return codes.
Expand Down Expand Up @@ -100,4 +103,9 @@ enum Object {
// [**2049**] Object not found.
OBJECT_NOT_FOUND = 1;
}

// Section of statuses for container-related operations.
enum Container {
// [**3072**] Container not found.
CONTAINER_NOT_FOUND = 0;
}

0 comments on commit 31b7b07

Please sign in to comment.