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.