1 2 3 4 5 6 7 8 9 10 11
pub use anyhow::Error; #[derive(Debug, thiserror::Error)] #[error("Execution aborted: {reason}")] pub struct ExecutionAborted { pub reason: String, } #[derive(Debug, thiserror::Error)] #[error("Unexpected eof")] pub struct UnexpectedEof;