Skip to main content

Module error

Module error 

Source
Expand description

Error model for the Store crate.

Mirrors the conventions in confium-core::error: a snafu enum with an ErrorCode repr-u32 mirror used to surface a stable numeric result through the FFI boundary. The Store crate owns its own error type so it can be compiled and linked independently of the Engine (the Store is a Confium plugin in its own right, and its backends are registered inside this crate).

Structs§

IdentitySignatureInvalidSnafu
SNAFU context selector for the Error::IdentitySignatureInvalid variant
InvalidCompartmentSnafu
SNAFU context selector for the Error::InvalidCompartment variant
InvalidPathSnafu
SNAFU context selector for the Error::InvalidPath variant
InvalidUTF8Snafu
SNAFU context selector for the Error::InvalidUTF8 variant
IoSnafu
SNAFU context selector for the Error::Io variant
NotImplementedSnafu
SNAFU context selector for the Error::NotImplemented variant
NullPointerSnafu
SNAFU context selector for the Error::NullPointer variant
UnknownBackendSnafu
SNAFU context selector for the Error::UnknownBackend variant
ValueNotFoundSnafu
SNAFU context selector for the Error::ValueNotFound variant
WrappedSnafu
SNAFU context selector for the Error::Wrapped variant

Enums§

Error
ErrorCode
Numeric result codes returned through the FFI. The encoding starts at 0x1000 to leave room for the Engine’s error namespace (whose codes begin at 1) — the Store is a separate crate and must not collide.

Type Aliases§

Result