1use thiserror::Error; 2 3#[derive(Debug, Error, Clone, PartialEq, Eq)] 4pub enum UiError { 5 #[error("invalid command")] 6 InvalidCommand, 7}