class Google::Cloud::FailedPreconditionError
read-modify-write on the same resource.
server does not match the condition. E.g., conflicting
REST Get/Update/Delete on a resource and the resource on the
(d) Use FailedPrecondition if the client performs conditional
they have first fixed up the directory by deleting files from it.
should be returned since the client should not retry unless
fails because the directory is non-empty, FailedPrecondition
the system state has been explicitly fixed. E.g., if an “rmdir”
© Use FailedPrecondition if the client should not retry until
(e.g., restarting a read-modify-write sequence).
(b) Use Aborted if the client should retry at a higher-level
(a) Use Unavailable if the client can retry just the failing call.
between FailedPrecondition, Aborted, and Unavailable:
A litmus test that may help a service implementor in deciding
operation is applied to a non-directory, etc.
For example, directory to be deleted may be non-empty, an rmdir
system is not in a state required for the operation’s execution.
FailedPrecondition indicates operation was rejected because the
#