Skip to main content

Module error

Module error 

Source
Expand description

Lifecycle error envelope.

Wrap-not-embed: FullEngineError wraps crate::EngineError via From, so lifecycle code paths propagate an engine failure without re-wrapping at each call site, and the MCP render layer reads the wrapped chain to produce the typed code.

The four lifecycle-only variants live here rather than on crate::EngineError: they are produced by the mem-management orchestrator (create_mem / delete_mem), which returns Result<_, FullEngineError>. The name dates from the crate split this envelope outlived (memstead-engine folded into this crate); the type keeps it so consumers need no rename.

Enums§

FullEngineError
Errors surfaced by the full engine extension.
RecoveryAction
Recovery shape for create_mem against pre-existing storage residue. A single enum field with three variants structurally enforces mutual exclusion on the wire (a three-boolean shape would need a runtime-validation step instead).