Skip to main content

Module middleware

Module middleware 

Source
Expand description

DEPRECATED: Stream-based guidance replaces middleware

This module is kept for historical reference only. Error guidance is now provided via PlexusStreamEvent::Guidance events in error streams.

Migration: Frontends should handle guidance events instead of parsing JSON-RPC error data. See the frontend migration guide at: docs/architecture/16680880693241553663_frontend-guidance-migration.md

Architecture: See stream-based guidance design at: docs/architecture/16680881573410764543_guidance-stream-based-errors.md

Structsยง

ActivationRegistry
Activation info needed for generating guided errors (DEPRECATED - kept for backwards compat)
GuidedErrorMiddleware
Middleware that enriches error responses with guided try suggestions (DEPRECATED - no-op)