pub type UtilResult<T> = Result<T, UtilError>;
Expand description

Used as the result types for all utils.

See also UtilError for documentation on how to return errors from models.

Aliased Type§

enum UtilResult<T> {
    Ok(T),
    Err(UtilError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(UtilError)

Contains the error value