Module error

Module error 

Source
Expand description

Structured error type returned by manta-shared’s pure helpers.

Used by the shared config loader and re-used by binary-side helpers that build on it: manta-cli’s SAT-file Jinja renderer and manta-server’s audit, jwt_ops, and kafka modules. Lets manta-shared (and therefore manta-cli) avoid pulling in manta_backend_dispatcher::error::Error for its own error surface.

Server-side code keeps returning manta_backend_dispatcher::error::Error and bridges MantaError at call sites via the free function crates/manta-server/src/wire_conv.rs::to_backend, used as .map_err(wire_conv::to_backend)?. The orphan rule prevents a From<MantaError> for BackendError impl in the server crate (both types are foreign there).

Enums§

MantaError
Errors returned by manta-shared’s pure helpers.