Skip to content

Commit bbd08c6

Browse files
authored
fix(sdk): AddressListError is private (#2278)
1 parent e0e152f commit bbd08c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/rs-dapi-client/src/address_list.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl Address {
7979
#[derive(Debug, thiserror::Error)]
8080
#[cfg_attr(feature = "mocks", derive(serde::Serialize, serde::Deserialize))]
8181
pub enum AddressListError {
82+
/// Specified address not present in the list
8283
#[error("address {0} not found in the list")]
8384
AddressNotFound(#[cfg_attr(feature = "mocks", serde(with = "http_serde::uri"))] Uri),
8485
}

packages/rs-dapi-client/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub mod transport;
1414

1515
pub use address_list::Address;
1616
pub use address_list::AddressList;
17+
pub use address_list::AddressListError;
1718
pub use connection_pool::ConnectionPool;
1819
pub use dapi_client::DapiRequestExecutor;
1920
pub use dapi_client::{DapiClient, DapiClientError};

0 commit comments

Comments
 (0)