essentia_core/essentia/
error.rs1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum CreateAlgorithmError {
5 #[error("algorithm not found: {name}")]
6 AlgorithmNotFound { name: String },
7
8 #[error("failed to create algorithm: {0}")]
9 Internal(#[from] cxx::Exception),
10}