use thiserror::Error;
#[derive(Error, Debug, Clone, PartialEq, Eq)]
pub enum Error {
#[error("Channel closed")]
ChannelClosed,
#[error("Producer disconnected")]
ProducerDisconnected,
#[error("Producer has not set a source value")]
NoSource,
#[error("Internal error occurred")] InternalError,
}