blob: 5e00abc5bce77d2c6eeaa7f767b1df1095c9fe4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#[derive(Debug)]
pub enum DichroismError {
UriDataExtract,
InvalidImageRoot,
}
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)
}
}
|