Skip to main content

Module error

Module error 

Source
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ยง

TrapReason
Classification of a WASM trap reason.
WasmError
Errors that can occur during WASM plugin execution.