Expand description
Error types for the MCP SDK.
This module provides a comprehensive error type that covers all possible failure modes in the MCP protocol.
Modules§
- recovery
- Advanced error handling and recovery mechanisms.
Structs§
- Error
Code - JSON-RPC error code for custom errors.
Enums§
- Error
- Main error type for MCP operations.
- Transport
Error - Transport-specific errors.
Constants§
- ISS_
MISMATCH_ MARKER - The stable programmatic identity of
Error::iss_mismatch. - MRTR_
INPUT_ REQUIRED_ MARKER - The stable programmatic identity of
Error::input_required_unfulfilled. - MRTR_
ROUND_ LIMIT_ MARKER - The stable programmatic identity of
Error::mrtr_round_limit_exceeded. - REAUTH_
REQUIRED_ MARKER - The stable programmatic identity of
Error::reauth_required. - RETIRED_
ON_ V2_ MARKER - The stable programmatic identity of
Error::retired_on_v2. - STATE_
MISMATCH_ MARKER - The stable programmatic identity of
Error::state_mismatch.
Type Aliases§
- Result
- Result type alias for MCP operations.