mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-23 17:28:34 +02:00
error webscraping
This commit is contained in:
@@ -46,6 +46,10 @@ pub enum AppError {
|
|||||||
Io(#[from] std::io::Error),
|
Io(#[from] std::io::Error),
|
||||||
#[error("Minijina error: {0}")]
|
#[error("Minijina error: {0}")]
|
||||||
MiniJinja(#[from] minijinja::Error),
|
MiniJinja(#[from] minijinja::Error),
|
||||||
|
#[error("Reqwest error: {0}")]
|
||||||
|
Reqwest(#[from] reqwest::Error),
|
||||||
|
#[error("Tiktoken error: {0}")]
|
||||||
|
Tiktoken(#[from] anyhow::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
// API-specific errors
|
// API-specific errors
|
||||||
|
|||||||
Reference in New Issue
Block a user