Type Alias forc_util::ForcResult

source ·
pub type ForcResult<T, E = ForcError> = Result<T, E>;
Expand description

A result type for forc operations. This shouldn’t be returned from entry points, instead return ForcCliResult to exit with correct exit code.

Aliased Type§

enum ForcResult<T, E = ForcError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value