Module error

Module error 

Source
Expand description

Error handling for LLM providers.

This module defines common error patterns and traits that all providers should implement, allowing for consistent error handling across the ecosystem.

Enums§

ConfigError
Common configuration errors.
LlmError
A generic error type that can wrap any provider error.
NetworkError
Common network errors.
RequestError
Common request errors.
ResponseError
Common response errors.

Traits§

ProviderError
Common trait for all provider errors.

Type Aliases§

LlmResult
Result type alias for LLM operations with generic error.
ProviderResult
Result type alias for provider operations.