Type Alias StrResult

Source
pub type StrResult<T> = Result<T, EcoString>;
Expand description

A result type with a string error message.

Aliased Type§

enum StrResult<T> {
    Ok(T),
    Err(EcoString),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EcoString)

Contains the error value