Skip to main content

Module error

Module error 

Source
Expand description

MCP Error types

This module defines structured error types for MCP operations, ensuring all errors contain a code and message as per Requirements 8.1.

Structs§

StructuredError
Structured error representation for serialization

Enums§

McpError
MCP Error type with structured code and message.
McpErrorCode
MCP error codes following the JSON-RPC 2.0 specification and MCP protocol extensions.

Type Aliases§

McpResult
Result type alias for MCP operations