Module error

Module error 

Source
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

§Example

use mi6_core::{Mi6Error, StorageError, ConfigError};

fn example() -> Result<(), Mi6Error> {
    // Domain errors automatically convert to Mi6Error
    // via From implementations
    Ok(())
}

Structs§

StringError
A simple string-based error for cases where we need to create an error from a message without an underlying error source.

Enums§

ConfigError
Errors from configuration loading.
FrameworkResolutionError
Errors from framework resolution.
InitError
Errors from hook installation and initialization.
Mi6Error
Unified error type for all mi6-core operations.
ScanError
Errors from transcript scanning with storage integration.
StorageError
Errors from storage/database operations.
TranscriptError
Errors from transcript file parsing.
TtlParseError
Errors from parsing TTL/retention strings.

Type Aliases§

BoxError
A boxed error type for wrapping underlying errors.