Expand description
Typed error hierarchy (ApiError, ConfigError, DownloadError, RommError).
Typed error hierarchy for the romm-cli library.
Domain enums use thiserror; the binary boundary converts [RommError] to
user-facing messages and exit codes via [user_message] and [exit_code].
Enums§
- ApiError
- HTTP and API-layer failures from
crate::client::RommClient. - Config
Error - Configuration, token file, and keyring failures.
- Download
Error - Download, path resolution, and transfer failures.
- Romm
Error - Composed public error type for library consumers.
- TuiError
Hint - Hint for TUI error toast behavior.
Functions§
- exit_
code - Process exit code (Gap 3 partial).
- tui_
hint - TUI behavior hint for an error.
- user_
message - Actionable user-facing message (short, no full error chain).