Skip to content

Commit

Permalink
[#191] status: add Session section and some status codes
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
  • Loading branch information
fyrchik authored and cthulhu-rider committed Feb 21, 2022
1 parent 31b7b07 commit 3a15476
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion status/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -108,4 +111,12 @@ enum Object {
enum Container {
// [**3072**] Container not found.
CONTAINER_NOT_FOUND = 0;
}
}

// Section of statuses for session-related operations.
enum Session {
// [**4096**] Token not found.
TOKEN_NOT_FOUND = 0;
// [**4097**] Token has expired.
TOKEN_EXPIRED = 1;
}

0 comments on commit 3a15476

Please sign in to comment.