1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum PubSubError { 5 /// client is not connected yet 6 #[error("Client is not connected")] 7 ClientNotConnected, 8}