Type Alias Result

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

Result type for mcp-runner operations.

This is a convenience type alias for std::result::Result with the Error type from this module. Use this throughout the library and in client code to handle errors in a consistent way.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value