forked from TrueCloudLab/frostfs-api
[#78] status: Introduce RESOURCE_EXHAUSTED
common status
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
52e5bc646f
commit
b337e61e98
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ enum CommonFail {
|
||||||
// request parameter as the client sent it incorrectly, then this code should
|
// request parameter as the client sent it incorrectly, then this code should
|
||||||
// be used.
|
// be used.
|
||||||
INVALID_ARGUMENT = 4;
|
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.
|
// Section of statuses for object-related operations.
|
||||||
|
|
Loading…
Add table
Reference in a new issue