Skip to main content

Module error

Module error 

Source
Expand description

Error types for hh-core.

Per CLAUDE.md / NFR-5, library errors use thiserror. All user-facing errors are actionable: they describe what failed, why, and a suggested fix via the Error variants’ Display impl.

Enums§

BlobError
Blob-store error.
BundleError
Portable session bundle (hh-core::bundle) build/parse error. Every variant here is reachable from untrusted input (hh import file.hh) and must carry enough detail to act on — “corrupt bundle” alone is not actionable (v1.0.0 addendum: parsers over untrusted input must never panic and must report precisely what failed).
ConfigError
Configuration error.
Error
Top-level hh-core error.
ResolveError
Failure to resolve a session id to exactly one session (FR-3.1).
StorageError
Storage-layer error.

Type Aliases§

Result
Result alias for hh-core.