Skip to main content

Module error

Module error 

Source
Expand description

Error types for ccstat

This module defines the error types used throughout the ccstat library. All errors are derived from thiserror for convenient error handling and automatic From implementations.

§Example

use ccstat_core::error::{CcstatError, Result};

fn example_function() -> Result<()> {
    // This will automatically convert io::Error to CcstatError
    let _file = std::fs::read_to_string("nonexistent.txt")?;
    Ok(())
}

Enums§

CcstatError
Main error type for ccstat operations

Type Aliases§

Result
Convenience type alias for Results in ccstat