From 35e9840de68de9553d1f1144b3bf93330bf62739 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 21 Feb 2022 15:36:08 +0300 Subject: [PATCH] [#192] docs: Generate documentation Signed-off-by: Evgenii Stratonikov --- proto-docs/status.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/proto-docs/status.md b/proto-docs/status.md index c29c289..de1b44b 100644 --- a/proto-docs/status.md +++ b/proto-docs/status.md @@ -91,6 +91,29 @@ Section of failed statuses independent of the operation. + + +### Container +Section of statuses for container-related operations. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| CONTAINER_NOT_FOUND | 0 | [**3072**] Container not found. | + + + + + +### Object +Section of statuses for object-related operations. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| ACCESS_DENIED | 0 | [**2048**] Access denied by ACL. Details: - [**0**] Human-readable description. | +| OBJECT_NOT_FOUND | 1 | [**2049**] Object not found. | + + + ### Section @@ -100,6 +123,21 @@ Section identifiers. | ---- | ------ | ----------- | | SECTION_SUCCESS | 0 | Successful return codes. | | SECTION_FAILURE_COMMON | 1 | Failure codes regardless of the operation. | +| SECTION_OBJECT | 2 | Object service-specific errors. | +| SECTION_CONTAINER | 3 | Container service-specific errors. | +| SECTION_SESSION | 4 | Session service-specific errors. | + + + + + +### Session +Section of statuses for session-related operations. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| TOKEN_NOT_FOUND | 0 | [**4096**] Token not found. | +| TOKEN_EXPIRED | 1 | [**4097**] Token has expired. |