Expand description
Unified error types for mi6-core.
This module consolidates all error types into a single location, providing
both domain-specific errors and a unified Mi6Error type for convenient
error handling.
§Error Types
Mi6Error: Unified error type that wraps all domain errorsStorageError: Database and storage operationsConfigError: Configuration file loadingTtlParseError: TTL/retention string parsingInitError: Hook installation and initializationTranscriptError: Transcript file parsingScanError: Transcript scanning with storage integration
§Example
use mi6_core::{Mi6Error, StorageError, ConfigError};
fn example() -> Result<(), Mi6Error> {
// Domain errors automatically convert to Mi6Error
// via From implementations
Ok(())
}Structs§
- String
Error - A simple string-based error for cases where we need to create an error from a message without an underlying error source.
Enums§
- Config
Error - Errors from configuration loading.
- Framework
Resolution Error - Errors from framework resolution.
- Init
Error - Errors from hook installation and initialization.
- Mi6Error
- Unified error type for all mi6-core operations.
- Scan
Error - Errors from transcript scanning with storage integration.
- Storage
Error - Errors from storage/database operations.
- Transcript
Error - Errors from transcript file parsing.
- TtlParse
Error - Errors from parsing TTL/retention strings.
Type Aliases§
- BoxError
- A boxed error type for wrapping underlying errors.