Result

Type Alias Result 

Source
pub type Result<T, E = CliError> = Result<T, E>;
Expand description

Result type alias using CliError as the default error type.

This simplifies function signatures throughout the CLI.

Aliased Type§

pub enum Result<T, E = CliError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value