Expand description
Common error handling prelude
Import this to get access to the most commonly used error types and utilities:
ⓘ
use pulseengine_mcp_protocol::errors::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