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
| Case | Payload | Description |
|---|---|---|
| no-such-container | — | The referenced container does not exist. |
| container-already-exists | — | A container with the requested name already exists (e.g. on
create-container). |
| no-such-object | — | The referenced object does not exist. |
| access-denied | — | The requesting component does not have access to the container or object (which may or may not exist). |
| timeout | — | The operation did not complete within the host- or backend-imposed time limit. |
| store-unavailable | — | The store is currently unreachable or otherwise unavailable. The operation may succeed if retried later. |
| quota-exceeded | — | The operation was rejected because a storage quota or rate limit was exceeded. |
| other | string | Some other implementation-specific error has occurred (e.g. I/O). Used for backend-specific failures that do not map to a named case above. |