chore: corrected error type and clippy satisfaction

This commit is contained in:
Per Stark
2025-05-05 09:27:26 +02:00
parent c2fbdecce0
commit 6ad625befc
3 changed files with 7 additions and 53 deletions

View File

@@ -31,8 +31,10 @@ pub enum AppError {
Reqwest(#[from] reqwest::Error),
#[error("Tiktoken error: {0}")]
Tiktoken(#[from] anyhow::Error),
#[error("Ingress Processing error: {0}")]
#[error("Ingestion Processing error: {0}")]
Processing(String),
#[error("DOM smoothie error: {0}")]
DomSmoothie(#[from] dom_smoothie::ReadabilityError),
#[error("Internal service error: {0}")]
InternalError(String),
}