1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum ProcessError { 5 #[error("Execution of '{0:?}' failed")] 6 ExecutionFailed(std::ffi::OsString, #[source] std::io::Error), 7}