Expand description
Error type for the WASM sandbox crate.
Mirrors the snafu-based pattern used across confium crates. All
public crate::Sandbox / crate::SandboxInstance operations
surface these via Result.
Structs§
- Argument
Type Snafu - SNAFU context selector for the
Error::ArgumentTypevariant - Capability
Denied Snafu - SNAFU context selector for the
Error::CapabilityDeniedvariant - Engine
Snafu - SNAFU context selector for the
Error::Enginevariant - Export
NotFound Snafu - SNAFU context selector for the
Error::ExportNotFoundvariant - Function
NotFound Snafu - SNAFU context selector for the
Error::FunctionNotFoundvariant - Host
Import Snafu - SNAFU context selector for the
Error::HostImportvariant - Instantiation
Snafu - SNAFU context selector for the
Error::Instantiationvariant - Invocation
Snafu - SNAFU context selector for the
Error::Invocationvariant - Module
Compile Snafu - SNAFU context selector for the
Error::ModuleCompilevariant - Wasmtime
Error - Wrap a wasmtime error (which does NOT impl
std::error::Errorin wasmtime 27 — it’sanyhow::Error-style) into something that does, so it can flow through snafu’s source field.
Enums§
Type Aliases§
- Result
- Source
Error - Boxed error source — any host-side error fits here.