From 367f3444ec627c6afa3bd9613644a6f903b3cb86 Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 13 Mar 2022 13:58:29 +0200 Subject: [PATCH] fix: Export `ethers_providers::IpcError` and `ethers_providers::QuorumError` (#1012) --- CHANGELOG.md | 12 +++++++----- ethers-providers/src/transports/mod.rs | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9002f81..b34a53d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -130,6 +130,13 @@ ## ethers-providers +### Unreleased + +- Add support for basic and bearer authentication in http and non-wasm websockets. + [829](https://github.com/gakonst/ethers-rs/pull/829) +- Export `ethers_providers::IpcError` and `ethers_providers::QuorumError` + [1012](https://github.com/gakonst/ethers-rs/pull/1012) + ### 0.6.0 - re-export error types for `Http` and `Ws` providers in @@ -144,11 +151,6 @@ - Add support for `evm_snapshot` and `evm_revert` dev RPC methods. [640](https://github.com/gakonst/ethers-rs/pull/640) -### Unreleased - -- Add support for basic and bearer authentication in http and non-wasm websockets. - [829](https://github.com/gakonst/ethers-rs/pull/829) - ### 0.5.3 - Expose `ens` module [#435](https://github.com/gakonst/ethers-rs/pull/435) diff --git a/ethers-providers/src/transports/mod.rs b/ethers-providers/src/transports/mod.rs index b7a6c64e..58233ab4 100644 --- a/ethers-providers/src/transports/mod.rs +++ b/ethers-providers/src/transports/mod.rs @@ -22,7 +22,7 @@ macro_rules! if_not_wasm { #[cfg(all(target_family = "unix", feature = "ipc"))] mod ipc; #[cfg(all(target_family = "unix", feature = "ipc"))] -pub use ipc::Ipc; +pub use ipc::{Ipc, IpcError}; mod http; pub use self::http::{ClientError as HttpClientError, Provider as Http}; @@ -34,7 +34,7 @@ pub use ws::{ClientError as WsClientError, Ws}; mod quorum; pub(crate) use quorum::JsonRpcClientWrapper; -pub use quorum::{Quorum, QuorumProvider, WeightedProvider}; +pub use quorum::{Quorum, QuorumError, QuorumProvider, WeightedProvider}; mod mock; pub use mock::{MockError, MockProvider};