pub fn classify_runtime_error(err: &Error) -> EngineErrorExpand description
Classifies a [wasmtime::Error] thrown during execution into a typed
EngineError. Downcast to [wasmtime::Trap] handles the structured
fuel/epoch cases; everything else falls through as Trap(message).