forked from TrueCloudLab/frostfs-api
[#191] status: add Session section and some status codes
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
31b7b073c2
commit
3a154760b5
1 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
// Section of statuses for session-related operations.
|
||||
enum Session {
|
||||
// [**4096**] Token not found.
|
||||
TOKEN_NOT_FOUND = 0;
|
||||
// [**4097**] Token has expired.
|
||||
TOKEN_EXPIRED = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue