litellm-rs 0.4.16

A high-performance AI Gateway written in Rust, providing OpenAI-compatible APIs with intelligent routing, load balancing, and enterprise features
Documentation
//! Error mapping traits and implementations
//!
//! This module provides error mapping functionality to convert HTTP responses
//! and other errors into provider-specific error types.
//!
//! # Module Structure
//!
//! - `trait_def` - Core ErrorMapper trait definition
//! - `types` - Generic error mapper implementation
//! - `implementations` - Provider-specific error mappers (OpenAI, Anthropic)
//! - `tests` - Comprehensive test suite

pub mod implementations;
pub mod trait_def;
pub mod types;

#[cfg(test)]
mod tests;

// Re-export DefaultErrorMapper for convenience
pub use types::GenericErrorMapper as DefaultErrorMapper;