Skip to main content

Module error

Module error 

Source
Expand description

Toolkit error type and crate-level Result alias.

ToolkitError is #[non_exhaustive]: downstream crates must match with a catch-all arm so the toolkit can add variants without a breaking change. Phase 83 Plan 04 extends this enum with a Validation variant wrapping a ConfigValidationError (per review R8) which catches missing-required-value bugs the Default impls on sub-sections would otherwise silently hide.

Enums§

ConfigValidationError
Semantic-validation errors surfaced by crate::config::ServerConfig::validate.
ToolkitError
Errors surfaced by the pmcp-server-toolkit runtime.

Type Aliases§

Result
Crate-level result alias used by every public API in pmcp-server-toolkit.