scientific-cal 0.2.4

scientific cal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug)]
pub enum FilterError {
    FilterDesignError,
    FilterApplyError
}
use std::fmt;

impl fmt::Display for FilterError {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        match self {
            FilterError::FilterDesignError => write!(f, "Failed to design the filter"),
            FilterError::FilterApplyError => write!(f, "Failed to apply the filter to the data"),
        }
    }
}

impl std::error::Error for FilterError {}