diff --git a/src/client/legacy/mod.rs b/src/client/legacy/mod.rs index 4b7f296..a040d00 100644 --- a/src/client/legacy/mod.rs +++ b/src/client/legacy/mod.rs @@ -2,5 +2,7 @@ mod client; #[cfg(any(feature = "http1", feature = "http2"))] pub use client::Client; +#[cfg(any(feature = "http1", feature = "http2"))] +pub use client::Error; pub mod connect;