1use thiserror::Error; 2 3#[derive(Debug, Error)] 4pub enum ConsumerGroupError { 5 #[error("consumer group is empty")] 6 Empty, 7}