use thiserror::Error;
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum UiError {
#[error("IO Error: {0}")]
IoError(#[from] std::io::Error),
#[error("Set subscriber error: {0}")]
SetSubscriberError(#[from] tracing::subscriber::SetGlobalDefaultError),
#[error("Other error: {0}")]
Other(String),
}