#[derive(Debug, thiserror::Error)]
#[allow(clippy::enum_variant_names)]
pub enum Error {
#[error("Error sending command.")]
SendingCommandFailed,
#[error("Error sending command.")]
SendingEventFailed,
#[error("Error receiving event.")]
ReceivingEventFailed,
#[error("{0}")]
PeerError(#[from] crate::peer::error::Error),
}