Skip to main content

tinyquant_core/corpus/
errors.rs

1//! Thin re-export of [`CorpusError`] from [`crate::errors`].
2//!
3//! The canonical definition lives in [`crate::errors`] so that it shares one
4//! `thiserror` derivation with [`CodecError`](crate::errors::CodecError) and
5//! [`BackendError`](crate::errors::BackendError). This module re-exports the
6//! type so that downstream code can write
7//! `tinyquant_core::corpus::CorpusError` without reaching into the error
8//! module directly.
9
10pub use crate::errors::CorpusError;