dfx_core/error/
socket_addr_conversion.rs1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum SocketAddrConversionError {
5 #[error("Did not find any socket addresses in string '{0}'")]
6 EmptyIterator(String),
7
8 #[error("Failed to convert {0} to a socket address")]
9 ParseSocketAddrFailed(String, #[source] std::io::Error),
10}