Skip to main content

Module error

Module error 

Source
Expand description

Error type for the process sandbox crate.

Mirrors the snafu-based pattern used across confium crates. All public Sandbox / SandboxInstance operations surface these via Result.

Error codes share the sandbox block (0x2000..), offset to a distinct sub-range (0x2100..) so they do not collide with the WASM sandbox codes when both are in play.

Structs§

ArgumentTypeSnafu
SNAFU context selector for the Error::ArgumentType variant
FunctionNotFoundSnafu
SNAFU context selector for the Error::FunctionNotFound variant
InvalidPathSnafu
SNAFU context selector for the Error::InvalidPath variant
PluginSnafu
SNAFU context selector for the Error::PluginError variant
ProtocolSnafu
SNAFU context selector for the Error::Protocol variant
ReadResponseSnafu
SNAFU context selector for the Error::ReadResponse variant
SpawnSnafu
SNAFU context selector for the Error::Spawn variant
WriteRequestSnafu
SNAFU context selector for the Error::WriteRequest variant

Enums§

Error

Type Aliases§

Result