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§
- Identity
Signature Invalid Snafu - SNAFU context selector for the
Error::IdentitySignatureInvalidvariant - Invalid
Compartment Snafu - SNAFU context selector for the
Error::InvalidCompartmentvariant - Invalid
Path Snafu - SNAFU context selector for the
Error::InvalidPathvariant - InvalidUT
F8Snafu - SNAFU context selector for the
Error::InvalidUTF8variant - IoSnafu
- SNAFU context selector for the
Error::Iovariant - NotImplemented
Snafu - SNAFU context selector for the
Error::NotImplementedvariant - Null
Pointer Snafu - SNAFU context selector for the
Error::NullPointervariant - Unknown
Backend Snafu - SNAFU context selector for the
Error::UnknownBackendvariant - Value
NotFound Snafu - SNAFU context selector for the
Error::ValueNotFoundvariant - Wrapped
Snafu - SNAFU context selector for the
Error::Wrappedvariant
Enums§
- Error
- Error
Code - Numeric result codes returned through the FFI. The encoding starts at
0x1000to leave room for the Engine’s error namespace (whose codes begin at 1) — the Store is a separate crate and must not collide.