fuzzy_cmp/
error.rs

1use macron::{ Display, From, Error };
2
3/// Std Result alias
4pub type StdResult<T, E> = std::result::Result<T, E>;
5/// Result alias
6pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync + 'static>>;
7
8// The error
9#[derive(Debug, Display, Error, From)]
10pub enum Error {
11    #[from]
12    Io(std::io::Error),
13}