use thiserror::Error;
#[derive(Debug, Clone)]
pub struct ShellExecCommand {
pub command_string: String,
pub cwd_file_path: String,
}
#[derive(Debug, Error)]
pub enum ShellError {
#[error("Failed to build command: {0}")]
BuildError(String),
#[error("Shell not found: {0}")]
ShellNotFound(String),
#[error("IO error: {0}")]
IoError(#[from] std::io::Error),
}