Skip to main content

Module error

Module error 

Source
Expand description

Typed error hierarchy for the MCP tool layer. Typed error hierarchy for post-cortex-mcp.

Wraps lower-layer errors and adds MCP-specific variants (validation, JSON-RPC formatting). The Error::mcp_code method maps each variant to a JSON-RPC error code transport adapters can use directly.

Enums§

Error
Errors produced by the MCP tool layer.

Type Aliases§

Result
Crate-level result alias.