Exception: Kobako::SetupError
- Defined in:
- lib/kobako/errors.rb,
sig/kobako/errors.rbs
Overview
Construction-layer error raised by Kobako::Sandbox.new /
Kobako::Runtime.from_path when the wasm runtime cannot be built
from the configured wasm_path before any invocation runs —
an unreadable artifact, bytes that are not a valid Wasm module, or
engine / linker / instantiation setup failure. Construction
is not an invocation, so SetupError sits beside the invocation
taxonomy under Kobako::Error rather than under TrapError: no
Sandbox is produced, so the TrapError "discard and recreate"
recovery contract does not apply.