use std::num::ParseIntError; use thirtyfour::prelude::WebDriverError; use thiserror::Error; #[derive(Debug, Error)] pub enum CliError { #[error("Command Error: {0}")] Cli(String), #[error("I/O Error: {0}")] IO(#[from] std::io::Error), #[error("TOML Error: {0}")] TomlDe(#[from] toml::de::Error), #[error("WebDriver Error: {0}")] WebDriver(#[from] WebDriverError), #[error("Integer Parsing Error: {0}")] ParseInt(#[from] ParseIntError) }