use thiserror::Error;
pub type Result<T> = std::result::Result<T, Error>;
#[derive(Error, Debug)]
pub enum Error {
#[error("Connection to git-bash ssh-agent error: {0}")]
GitBashErrorMessage(String),
#[error("An error occurred communicating with the agent")]
AgentCommunication(#[from] std::io::Error),
#[error(transparent)]
SshAgentClientRs(#[from] ssh_agent_client_rs::Error),
}