use thiserror::Error;
#[derive(Error, Debug)]
pub enum SmolmixError {
#[error("Channel closed")]
ChannelClosed,
#[error("Not connected to IPR")]
NotConnected,
#[error("Nym SDK error: {0}")]
NymSdk(#[from] nym_sdk::Error),
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
}