Expand description
WASM component error types.
Provides structured error classification for WASM execution failures:
- Timeout (epoch deadline expired)
- Trap (guest panic, stack overflow, unreachable, etc.)
- Out of memory (linear memory exceeded limit)
- Unhealthy (consecutive failures, unable to re-instantiate)
All variants carry context (plugin name, timeout value, etc.) for debugging and error handler integration (dead letter channel, retry policies).
Enums§
- Trap
Reason - Classification of a WASM trap reason.
- Wasm
Error - Errors that can occur during WASM plugin execution.
Functions§
- map_
bean_ error - Map a bean-world WIT
WasmErrorto the canonical crate-levelWasmError. - map_
plugin_ error - Map a WIT bindings [
plugin::WasmError] to the canonical crate-levelWasmError. - map_
source_ error - Map a source-world WIT
WasmErrorto the canonical crate-levelWasmError. - peel_
concurrent - Peel the layers of a
run_concurrentresult.