rss2email_lib/
error.rs

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