1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-08 00:19:59 +02:00
article_scraper/src/error.rs
2022-12-01 09:22:08 +01:00

15 lines
357 B
Rust

use crate::{
full_text_parser::{config::ConfigError, error::FullTextParserError},
images::ImageDownloadError,
};
use thiserror::Error;
#[derive(Error, Debug)]
pub enum ScraperError {
#[error("")]
Config(#[from] ConfigError),
#[error("")]
Image(#[from] ImageDownloadError),
#[error("")]
Scrap(#[from] FullTextParserError),
}