Skip to main content

Module error

Module error 

Source
Expand description

Error types and handling for the protocol. Error handling types for MCP protocol.

v3.0: The primary error type is now McpError from turbomcp-core. This module only contains supplementary types like RetryInfo.

For error handling, use:

  • turbomcp_protocol::McpError - The unified error type
  • turbomcp_protocol::ErrorKind - Error classification
  • turbomcp_protocol::McpResult<T> - Result alias

Structsยง

RetryInfo
Information about retry attempts