#[derive(Debug, thiserror::Error)]
#[allow(clippy::large_enum_variant)]
pub enum Error {
#[error("client error {0}")]
Client(#[from] rumqttc::ClientError),
#[error("connection not found")]
ConnectionNotFound,
#[error("crypto error {0}")]
Crypto(#[from] crypto::Error),
#[error("invalid topic {0}")]
InvalidTopic(String),
}