ContextResult

Type Alias ContextResult 

Source
pub type ContextResult<T> = Result<T, ContextError>;
Expand description

Result type with error context

Aliased Type§

pub enum ContextResult<T> {
    Ok(T),
    Err(ContextError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ContextError)

Contains the error value