#[non_exhaustive]pub enum StorageOp {
Show 15 variants
BlobBinding,
BlobPut,
BlobGet,
BlobRead,
BlobHead,
MultipartSession,
MultipartPart,
MetaBinding,
MetaStub,
MetaRequest,
MetaCall,
MetaDecode,
RequestSerialize,
SqlExec,
FsIo,
}Expand description
A storage-backend operation that can fail. It names what failed in the server-side log line and picks the client-facing message; the backend’s own error text never reaches the client.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BlobBinding
Resolving the blob store (for example an R2 bucket binding) failed.
BlobPut
A blob write failed.
BlobGet
A blob read request failed.
BlobRead
Reading a blob’s body failed, or the body was missing.
BlobHead
A blob existence check failed.
MultipartSession
Starting or completing a multipart storage session failed.
MultipartPart
Streaming or committing a multipart part failed.
MetaBinding
Resolving the metadata store (for example a Durable Object binding) failed.
MetaStub
Deriving or fetching a metadata-store stub failed.
MetaRequest
Building a metadata-store request failed.
MetaCall
The metadata-store call itself failed (a network or runtime error, not an error answer from the store).
MetaDecode
Decoding a metadata-store response failed.
RequestSerialize
Serializing an outgoing request body failed. Our own request, so it never carries backend detail.
SqlExec
A SQL statement failed.
FsIo
A filesystem operation failed.