use thiserror::Error as ThisError; pub type Result = std::result::Result; #[derive(ThisError, Debug)] pub enum Error { #[error("Fatal Internal Error: {0}")] FatalInternal(&'static str), #[error("No event to progress")] NoEvent, #[error("Wrong Properties Type")] WrongProps, #[error("Base scope has not been mounted yet")] NotMounted, #[error("I/O Error: {0}")] IO(#[from] std::io::Error), }