Expand description
Error harmonization and convenience utilities
This module provides a unified approach to error handling across the PulseEngine MCP framework. It includes common error types, conversion utilities, and patterns that make it easier for backend implementers and framework users to handle errors consistently.
Modules§
- prelude
- Common error handling prelude
Structs§
- Error
- Core MCP error type
Enums§
- Common
Error - Common error types that backend implementers often need
- Error
Code - MCP error codes following JSON-RPC 2.0 specification
Traits§
- Backend
Error Ext - Extension trait for backend error handling
- Error
Context - Extension trait for adding context to errors
- Error
Context Ext - Extension trait for converting errors into standard error contexts
Type Aliases§
- Common
Result - Common result type for backend implementations
- McpResult
- Preferred result type alias that doesn’t conflict with std::result::Result