summaryrefslogtreecommitdiff
path: root/dichroism/src/error.rs
blob: 2f013815e4fc95a7dbf27d6ed57a9161b7956626 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug)]
pub enum DichroismError {
    UriDataExtract,
}

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

impl std::fmt::Display for DichroismError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "Dichroism Error: {}", self)
    }
}