Skip to main content

err

Function err 

Source
pub fn err<T>(error: McpError) -> Outcome<T, McpError>
Expand description

Creates an MCP error Outcome with the given error.