1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! 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`
use Arc;
/// Activation info needed for generating guided errors (DEPRECATED - kept for backwards compat)
/// Middleware that enriches error responses with guided `try` suggestions (DEPRECATED - no-op)