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