LlmResult

Type Alias LlmResult 

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

Result type alias for LLM operations with generic error.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LlmError<E>)

Contains the error value