tinymist_std::typst::diag

Type Alias HintedStrResult

pub type HintedStrResult<T> = Result<T, HintedString>;
Expand description

A result type with a string error message and hints.

Aliased Type§

enum HintedStrResult<T> {
    Ok(T),
    Err(HintedString),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HintedString)

Contains the error value