From 5f3fa3fdd8736b7a58d759614087084d52f1029b Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 9 Feb 2022 13:35:24 +0300 Subject: [PATCH] [#189] status: add Object section and ACL_DENIED code Signed-off-by: Evgenii Stratonikov --- status/types.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/status/types.proto b/status/types.proto index 1c505d9..cc3f2b7 100644 --- a/status/types.proto +++ b/status/types.proto @@ -64,6 +64,9 @@ enum Section { // Failure codes regardless of the operation. SECTION_FAILURE_COMMON = 1; + + // Object service-specific errors. + SECTION_OBJECT = 2; } // Section of NeoFS successful return codes. @@ -87,3 +90,11 @@ enum CommonFail { // unsigned integer). WRONG_MAGIC_NUMBER = 1; } + +// Section of statuses for object-related operations. +enum Object { + // [**2048**] Access denied by ACL. + // Details: + // - [**0**] Human-readable description. + ACCESS_DENIED = 0; +} \ No newline at end of file