Type Alias debris_error::LangResult

source ·
pub type LangResult<T> = Result<T, LangErrorKind>;
Expand description

A result type which allows quick error throwing since no span and other boilerplate is needed

Aliased Type§

enum LangResult<T> {
    Ok(T),
    Err(LangErrorKind),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LangErrorKind)

Contains the error value