1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum HuginnNetHttpError { 5 #[error("Parse error: {0}")] 6 Parse(String), 7 8 #[error("Unsupported protocol: {0}")] 9 UnsupportedProtocol(String), 10}