Skip to content

Commit

Permalink
docs: add documentation for AddressNotFound variant
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Oct 25, 2024
1 parent c31c455 commit e28a344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rs-dapi-client/src/address_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl Address {
#[derive(Debug, thiserror::Error)]
#[cfg_attr(feature = "mocks", derive(serde::Serialize, serde::Deserialize))]
pub enum AddressListError {
/// Specified address not present in the list
#[error("address {0} not found in the list")]
AddressNotFound(#[cfg_attr(feature = "mocks", serde(with = "http_serde::uri"))] Uri),
}
Expand Down

0 comments on commit e28a344

Please sign in to comment.