From 3a154760b5dcbd88a50e8df9982027d7a0309fcf Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 9 Feb 2022 13:39:38 +0300 Subject: [PATCH] [#191] status: add Session section and some status codes Signed-off-by: Evgenii Stratonikov --- status/types.proto | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/status/types.proto b/status/types.proto index c243d43..80b47aa 100644 --- a/status/types.proto +++ b/status/types.proto @@ -70,6 +70,9 @@ enum Section { // Container service-specific errors. SECTION_CONTAINER = 3; + + // Session service-specific errors. + SECTION_SESSION = 4; } // Section of NeoFS successful return codes. @@ -108,4 +111,12 @@ enum Object { enum Container { // [**3072**] Container not found. CONTAINER_NOT_FOUND = 0; -} \ No newline at end of file +} + +// Section of statuses for session-related operations. +enum Session { + // [**4096**] Token not found. + TOKEN_NOT_FOUND = 0; + // [**4097**] Token has expired. + TOKEN_EXPIRED = 1; +}