1use thiserror::Error; 2 3#[derive(Debug, Error)] 4pub enum ServerInitError { 5 #[error("Failed to parse arguments: {0}")] 6 InvalidArgs(#[from] clap::Error), 7 #[error("{0}")] 8 Other(String), 9}