[#78] status: Introduce RESOURCE_EXHAUSTED common status

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2025-02-05 13:43:36 +03:00
parent 52e5bc646f
commit b337e61e98
Signed by: a-savchuk
GPG key ID: 70C0A7FF6F9C4639

View file

@ -109,6 +109,10 @@ enum CommonFail {
// request parameter as the client sent it incorrectly, then this code should
// be used.
INVALID_ARGUMENT = 4;
// [**1029**] Resource exhausted failure. This code should be used
// if the operation cannot be performed due to a lack of resources.
RESOURCE_EXHAUSTED = 5;
}
// Section of statuses for object-related operations.