1 2 3 4 5 6 7 8 9 10 11 12
/// Represents anything that could go wrong when dealing with web feeds.
#[derive(Debug)]
pub enum Error {
/// Wrapper for [reqwest::Error].
Reqwest(Box<reqwest::Error>),
/// Wrapper for [http::header::ToStrError].
HeaderString(Box<http::header::ToStrError>),
/// Wrapper for [std::io::Error].
Io(std::io::Error),
///
Generic(String),
}