HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult = Result<Value, McpError>;
Expand description

Result type for handlers

Aliased Type§

pub enum HandlerResult {
    Ok(Value),
    Err(McpError),
}

Variants§

§1.0.0

Ok(Value)

Contains the success value

§1.0.0

Err(McpError)

Contains the error value