use thiserror::Error;
pub use crate::llm::provider::LLMError;
#[derive(Debug, Error)]
#[error("proxy_auth_required")]
pub struct ProxyAuthRequiredError;
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_proxy_auth_required_error_creation() {
let err = ProxyAuthRequiredError;
assert_eq!(err.to_string(), "proxy_auth_required");
}
#[test]
fn test_proxy_auth_required_error_debug() {
let err = ProxyAuthRequiredError;
let debug_str = format!("{:?}", err);
assert!(debug_str.contains("ProxyAuthRequiredError"));
}
#[test]
fn test_proxy_auth_required_error_display() {
let err = ProxyAuthRequiredError;
let display_str = format!("{}", err);
assert_eq!(display_str, "proxy_auth_required");
}
}