#![cfg(feature = "full")]
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Failed to announce local id")]
LocalIdAnnouncementFailed,
#[error("Failed to announce static peers.")]
StaticPeersAnnouncementFailed,
#[error("Failed to create transport layer.")]
CreatingTransportFailed,
#[error("Failed to bind to an address.")]
BindingAddressFailed,
#[error("Failed to process an item in the host processor event loop.")]
HostEventLoopError,
}