Skip to main content

bamboo_agent/agent/llm/
error.rs

1//! Error types for LLM operations.
2//!
3//! This module provides error types for handling LLM-related failures,
4//! including authentication, network, and API errors.
5
6use thiserror::Error;
7
8/// Re-export of the main LLM error type.
9pub use crate::agent::llm::provider::LLMError;
10
11/// Error indicating that proxy authentication is required.
12///
13/// This error is returned when a proxy server requires authentication
14/// credentials that were not provided.
15#[derive(Debug, Error)]
16#[error("proxy_auth_required")]
17pub struct ProxyAuthRequiredError;