Type Alias todo_cli_manikya::Result

source ·
pub type Result<T> = Result<T, Box<dyn Error>>;
Expand description

Generic wrapper for Result type

This will allow easy propagation of errors till the main function irrespectove of error type

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value