use thiserror::Error;

#[derive(Error, Debug, PartialEq)]
pub enum FilterError {
    #[error("Sigma must be non-negative, got {0}")]
    InvalidSigma(f64),
    
    #[error("Truncate must be positive, got {0}")]
    InvalidTruncate(f64),
    
    #[error("Input data cannot be empty")]
    EmptyInput,
}