Module errors

Source
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.

Re-exports§

pub use crate::error::Error;
pub use crate::error::ErrorCode;
pub use crate::error::McpResult;

Modules§

prelude
Common error handling prelude

Enums§

CommonError
Common error types that backend implementers often need

Traits§

BackendErrorExt
Extension trait for backend error handling
ErrorContext
Extension trait for adding context to errors
ErrorContextExt
Extension trait for converting errors into standard error contexts

Type Aliases§

CommonResult
Common result type for backend implementations