#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Vara.eth binary not found in $PATH: {0}")]
BinaryNotFound(#[source] which::Error),
#[error("couldn't spawn node: {0}")]
Spawn(#[source] std::io::Error),
#[error("timed out waiting for node to spawn; is the node binary installed?")]
Timeout,
#[error("failed to build HTTP client: {0}")]
BuildHttpClient(#[source] jsonrpsee::core::ClientError),
#[error("failed to build websocket client: {0}")]
BuildWsClient(#[source] jsonrpsee::core::ClientError),
#[error("failed to query router address: {0}")]
QueryRouterAddress(#[source] jsonrpsee::core::ClientError),
}