fix: Export `ethers_providers::IpcError` and `ethers_providers::QuorumError` (#1012)

This commit is contained in:
oblique 2022-03-13 13:58:29 +02:00 committed by GitHub
parent 77c3b39016
commit 367f3444ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View File

@ -130,6 +130,13 @@
## ethers-providers ## 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 ### 0.6.0
- re-export error types for `Http` and `Ws` providers in - 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. - Add support for `evm_snapshot` and `evm_revert` dev RPC methods.
[640](https://github.com/gakonst/ethers-rs/pull/640) [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 ### 0.5.3
- Expose `ens` module [#435](https://github.com/gakonst/ethers-rs/pull/435) - Expose `ens` module [#435](https://github.com/gakonst/ethers-rs/pull/435)

View File

@ -22,7 +22,7 @@ macro_rules! if_not_wasm {
#[cfg(all(target_family = "unix", feature = "ipc"))] #[cfg(all(target_family = "unix", feature = "ipc"))]
mod ipc; mod ipc;
#[cfg(all(target_family = "unix", feature = "ipc"))] #[cfg(all(target_family = "unix", feature = "ipc"))]
pub use ipc::Ipc; pub use ipc::{Ipc, IpcError};
mod http; mod http;
pub use self::http::{ClientError as HttpClientError, Provider as Http}; pub use self::http::{ClientError as HttpClientError, Provider as Http};
@ -34,7 +34,7 @@ pub use ws::{ClientError as WsClientError, Ws};
mod quorum; mod quorum;
pub(crate) use quorum::JsonRpcClientWrapper; pub(crate) use quorum::JsonRpcClientWrapper;
pub use quorum::{Quorum, QuorumProvider, WeightedProvider}; pub use quorum::{Quorum, QuorumError, QuorumProvider, WeightedProvider};
mod mock; mod mock;
pub use mock::{MockError, MockProvider}; pub use mock::{MockError, MockProvider};