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

CasePayloadDescription
bad-requestKV store cannot or will not process the request due to something that is perceived to be a client error.
precondition-failedKV store cannot fulfill the request, as defined by the client's prerequisites, for example if-generation-match.
payload-too-largeThe size limit for a KV store key was exceeded.
internal-errorThe system encountered an unexpected internal error.
too-many-requestsToo many requests have been made to the KV store.
generic-errorGeneric error value.
extraextra-kv-errorAdditional error information may be added in the future via this resource type.