From e9d40120a74b20b51d2f15d63220ec4ef2040c40 Mon Sep 17 00:00:00 2001 From: James Prestwich <10149425+prestwich@users.noreply.github.com> Date: Wed, 10 Nov 2021 08:53:07 -0800 Subject: [PATCH] chore: re-export http client error in providers transports (#570) * chore: re-export http client error in providers transports * chore: re-export we client error in providers transports --- ethers-providers/src/transports/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-providers/src/transports/mod.rs b/ethers-providers/src/transports/mod.rs index 82d9026b..bc642c77 100644 --- a/ethers-providers/src/transports/mod.rs +++ b/ethers-providers/src/transports/mod.rs @@ -24,12 +24,12 @@ if_not_wasm! { } mod http; -pub use http::Provider as Http; +pub use http::{ClientError as HttpClientError, Provider as Http}; #[cfg(feature = "ws")] mod ws; #[cfg(feature = "ws")] -pub use ws::Ws; +pub use ws::{ClientError as WsClientError, Ws}; mod quorum; pub(crate) use quorum::JsonRpcClientWrapper;