TheResult

Type Alias TheResult 

Source
pub type TheResult<T> = Result<T, TheError>;
Expand description

Alias to a Result<T, TheError> type, with TheError being a struct that contains extra details of the original error

Aliased Type§

pub enum TheResult<T> {
    Ok(T),
    Err(TheError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TheError)

Contains the error value