mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
13 lines
489 B
Rust
13 lines
489 B
Rust
#[derive(Debug, thiserror::Error)]
|
|
pub enum Error {
|
|
#[error(transparent)]
|
|
Http(#[from] litellm_http::Error),
|
|
#[error("environment_variables values must be strings, numbers or booleans")]
|
|
Environment,
|
|
#[error("MCP host does not yet support configured setting {0}")]
|
|
McpSetting(String),
|
|
#[error(transparent)]
|
|
Mcp(#[from] litellm_gateway_mcp::ConnectError),
|
|
#[error("MCP requires a configured master key")]
|
|
Auth(#[from] litellm_gateway_auth::Error),
|
|
}
|