mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-08 00:19:59 +02:00
15 lines
357 B
Rust
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),
|
|
}
|