[#189] status: add Object section and ACL_DENIED code
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
1842305116
commit
5f3fa3fdd8
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue