use std::io::Error as IoError; use thiserror::Error; #[derive(Debug, Error)] pub enum FirehoseError { #[error("{0}")] Cbor(#[from] ciborium::de::Error), #[error("{0}")] IpldCbor(#[from] serde_ipld_dagcbor::error::DecodeError), #[error("{0}")] Websocket(#[from] tokio_tungstenite::tungstenite::error::Error), }