Variant
kv-error
A value indicating the status of a KV store operation.
variant kv-error {
bad-request,
precondition-failed,
payload-too-large,
internal-error,
too-many-requests,
generic-error,
extra(extra-kv-error),
}Cases
| Case | Payload | Description |
|---|---|---|
| bad-request | — | KV store cannot or will not process the request due to something that is perceived to be a client error. |
| precondition-failed | — | KV store cannot fulfill the request, as defined by the client's prerequisites, for example
if-generation-match. |
| payload-too-large | — | The size limit for a KV store key was exceeded. |
| internal-error | — | The system encountered an unexpected internal error. |
| too-many-requests | — | Too many requests have been made to the KV store. |
| generic-error | — | Generic error value. |
| extra | extra-kv-error | Additional error information may be added in the future via this resource type. |