Module exceptions

Module exceptions 

Source
Expand description

§Custom Errors for Feature Factory

This module defines custom error types for the Feature Factory library. It uses the thiserror crate to derive the Error trait for custom error types. The FeatureFactoryError enum includes variants representing different error scenarios encountered throughout the library, making error handling straightforward and clear.

The FeatureFactoryResult type alias simplifies error handling by providing a convenient alias for results returned by the library.

§Example

use feature_factory::exceptions::{FeatureFactoryError, FeatureFactoryResult};

fn load_data() -> FeatureFactoryResult<()> {
    Err(FeatureFactoryError::NotImplemented("CSV loading".into()))
}

Enums§

FeatureFactoryError
Errors specific to the Feature Factory library.

Type Aliases§

FeatureFactoryResult
A convenient result type for Feature Factory operations.