Result

Type Alias Result 

Source
pub type Result<T> = Result<T, LlmError>;
Expand description

Result type alias for provider operations.

Uses LlmError for structured error handling with rich metadata (categories, retry info, user messages).

See LlmError for available error variants and helper methods:

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(LlmError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LlmError)

Contains the error value