chore: corrected error type and clippy satisfaction

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

No files matched your search

+3 -1
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),
}