evoc_rs/errors.rs
1//! Errors for the evoc-rs crate.
2
3use manifolds_rs::prelude::ManifoldsError;
4use thiserror::Error;
5
6/// Errors that can be returned by manifolds-rs
7#[derive(Debug, Error)]
8pub enum EvocErrors {
9 // -- manifolds-rs --
10 /// Propagate errors from the manifolds-rs crate
11 #[error("Error from the manifolds-rs crate: {0}")]
12 AnnSearchRsError(#[from] ManifoldsError),
13}