Skip to main content

Module error

Module error 

Source
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§

ArgumentTypeSnafu
SNAFU context selector for the Error::ArgumentType variant
CapabilityDeniedSnafu
SNAFU context selector for the Error::CapabilityDenied variant
EngineSnafu
SNAFU context selector for the Error::Engine variant
ExportNotFoundSnafu
SNAFU context selector for the Error::ExportNotFound variant
FunctionNotFoundSnafu
SNAFU context selector for the Error::FunctionNotFound variant
HostImportSnafu
SNAFU context selector for the Error::HostImport variant
InstantiationSnafu
SNAFU context selector for the Error::Instantiation variant
InvocationSnafu
SNAFU context selector for the Error::Invocation variant
ModuleCompileSnafu
SNAFU context selector for the Error::ModuleCompile variant
WasmtimeError
Wrap a wasmtime error (which does NOT impl std::error::Error in wasmtime 27 — it’s anyhow::Error-style) into something that does, so it can flow through snafu’s source field.

Enums§

Error

Type Aliases§

Result
SourceError
Boxed error source — any host-side error fits here.