forked from TrueCloudLab/frostfs-api
[#190] status: add Object.OBJECT_NOT_FOUND code
`OBJECT_` prefix is needed because of possible conflicts with other `NOT_FOUND` codes declared in the same file. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5f3fa3fdd8
commit
5f53a683d1
1 changed files with 3 additions and 0 deletions
|
@ -97,4 +97,7 @@ enum Object {
|
||||||
// Details:
|
// Details:
|
||||||
// - [**0**] Human-readable description.
|
// - [**0**] Human-readable description.
|
||||||
ACCESS_DENIED = 0;
|
ACCESS_DENIED = 0;
|
||||||
|
// [**2049**] Object not found.
|
||||||
|
OBJECT_NOT_FOUND = 1;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue