1 2 3 4 5 6 7 8 9
/// Termimad error type
///
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("IO error: {0}")]
IO(#[from] std::io::Error),
}
pub(crate) type Result<T> = std::result::Result<T, Error>;
1 2 3 4 5 6 7 8 9
/// Termimad error type
///
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("IO error: {0}")]
IO(#[from] std::io::Error),
}
pub(crate) type Result<T> = std::result::Result<T, Error>;