Variant

error

The set of errors which may be raised by functions in this package.

variant error {
  no-such-container,
  container-already-exists,
  no-such-object,
  access-denied,
  timeout,
  store-unavailable,
  quota-exceeded,
  other(string),
}

Cases

CasePayloadDescription
no-such-containerThe referenced container does not exist.
container-already-existsA container with the requested name already exists (e.g. on create-container).
no-such-objectThe referenced object does not exist.
access-deniedThe requesting component does not have access to the container or object (which may or may not exist).
timeoutThe operation did not complete within the host- or backend-imposed time limit.
store-unavailableThe store is currently unreachable or otherwise unavailable. The operation may succeed if retried later.
quota-exceededThe operation was rejected because a storage quota or rate limit was exceeded.
otherstringSome other implementation-specific error has occurred (e.g. I/O). Used for backend-specific failures that do not map to a named case above.