Skip to main content

Module error

Module error 

Source
Expand description

Typed setup/ops errors for the Horto engine.

§Layering (ITC habit)

LayerCrateTool
Library / step APIhorto-os-ui-sharedthiserror via HortoError
Process binaries (CLI, TUI, API, KPI)each binaryanyhow at main; ? maps HortoError
Diagnosticsshared emits; CLI/API/KPI/desktop call crate::init_tracingtracing only (stderr via subscriber); TUI uses crate::HostContext::logs

Do not put thiserror on every surface crate. Surfaces that only talk HTTP (KPI, web) never see HortoError. Surfaces that call the engine convert with ?.

Enums§

HortoError
Failures from steps, kits, resume, and host ops.

Type Aliases§

Result
Crate-wide result alias for the setup engine.