Skip to main content

Module error

Module error 

Source
Available on crate feature server only.
Expand description

The storage-proxy error contract, decoupled from any server’s internal error.

ProxyError is the error half of every handler Result. A backend port returns it directly (a server adapter maps its own internal error into one of these variants), and its IntoResponse emits the HTTP status the wire contract mandates.

object_store::Error outcomes flow through the ProxyError::Storage variant, which is the single place cloud-storage results are mapped to a status — most importantly the If-Match relay: a conditional-write mismatch surfaces as object_store::Error::Precondition and becomes 412 Precondition Failed.

Enums§

ProxyError
An error from a storage-proxy operation.

Type Aliases§

ProxyResult
Result type used across the crate’s handler surface and backend port.