//! Error helpers for `tinyquant-pgvector`.
//!
//! This crate does not define new error variants. All errors are wrapped
//! into `BackendError::Adapter` so the caller sees a uniform error type.
use Arc;
pub use BackendError;
/// Wrap a formatted string into `BackendError::Adapter`.
/// Wrap a `postgres::Error` into `BackendError::Adapter`.
///
/// Only available when the `live-db` feature is enabled.