1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Error type for `talon ask` LLM calls. use thiserror::Error; use crate::llm::ChatError; /// Errors returned by [`AskClient`]. /// /// [`AskClient`]: crate::ask::AskClient #[derive(Debug, Error)] #[non_exhaustive] pub enum AskError { /// Underlying chat-completion failure. #[error(transparent)] Chat(#[from] ChatError), }