Type Alias erg_compiler::error::tycheck::Failable

source ·
pub type Failable<T> = Result<T, (T, CompileErrors)>;

Aliased Type§

enum Failable<T> {
    Ok(T),
    Err((T, CompileErrors)),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err((T, CompileErrors))

Contains the error value