pub type Result = std::result::Result; #[derive(thiserror::Error, Debug)] pub enum Error { #[error("Child process has not been spawned")] NoChild, #[error("Failed to get Child's stdin")] Stdin, #[error("Config error: {0}")] Config(#[from] figment::error::Error), #[error("IO error: {0}")] IO(#[from] std::io::Error), }