1use thiserror::Error; 2 3#[derive(Copy, Clone, Debug, Error)] 4#[error("no server information available")] 5pub struct MissingServer; 6 7#[derive(Copy, Clone, Debug, Error)] 8#[error("no channel information available")] 9pub struct MissingChannel;