//! Error type shared by every storage trait.
/// Failure modes common to all storage backends.
///
/// Backends map their native errors (a `sqlx::Error`, a `redis::RedisError`, a
/// `tonic::Status`, …) onto these variants so callers never depend on a concrete
/// backend's error type. The string payloads carry backend-specific detail for
/// logging without leaking the backend's types into this crate's public API.
/// Convenience alias for results returned by storage trait methods.
pub type Result<T> = Result;