1 2 3 4 5 6 7 8 9 10 11 12 13
use thiserror::Error; #[derive(Debug, Error, Clone)] pub enum ExecutorError { #[error("SSH error: {0}")] SshError(String), #[error("Local command error: {0}")] LocalError(String), #[error("Generic executor error: {0}")] Other(String), }