Expand description
Typed setup/ops errors for the Horto engine.
§Layering (ITC habit)
| Layer | Crate | Tool |
|---|---|---|
| Library / step API | horto-os-ui-shared | thiserror via HortoError |
| Process binaries (CLI, TUI, API, KPI) | each binary | anyhow at main; ? maps HortoError |
| Diagnostics | shared emits; CLI/API/KPI/desktop call crate::init_tracing | tracing 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§
- Horto
Error - Failures from steps, kits, resume, and host ops.
Type Aliases§
- Result
- Crate-wide result alias for the setup engine.