Expand description
Error model exposed to plugin authors.
Confium plugins return a u32 status code from each FFI entry point.
0 means success; any other value is one of the canonical codes from
ErrorCode. Plugin authors do not want to memorize those numbers —
they want to return their own error type and let the SDK convert.
PluginError is the SDK-side enum plugin authors implement From
for (or use directly). It carries the canonical ErrorCode so the
macro-generated entry points can map_or_else it into the wire u32
exactly the way the core crate does.
Structs§
- Plugin
Error - Plugin-side error type. Carries a canonical
ErrorCodeplus a human-readable message for logging; only the code crosses the FFI.
Enums§
- Error
Code - Canonical error codes returned across the Confium FFI surface.
Type Aliases§
- Plugin
Result - Result alias for plugin-side fallible operations.