Skip to main content

Module khive_error

Module khive_error 

Source
Expand description

Unified cross-crate error model: KhiveError, ErrorKind, ErrorCode, Details, RetryHint.

Structs§

Details
Bounded key/value metadata attached to a KhiveError (max 8 pairs).
ErrorCode
Domain-scoped numeric error code.
KhiveError
Unified error type for the khive runtime.

Enums§

ErrorDomain
Domain that owns the error code namespace.
ErrorKind
Semantic error category — maps to HTTP status codes.
RetryHint
Guidance to callers on whether retrying the operation makes sense.

Constants§

DETAILS_TRUNCATED_KEY
Reserved key inserted in place of the 8th slot when a Details source (constructor input or a deserialized wire map) supplies more than 8 pairs. Its value is the count of dropped pairs, so truncation is observable instead of silently discarding data (RUNTIME-AUD-002 / #487 follow-up).