hopr_chain_api::errors

Type Alias Result

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

The default Result object translating errors in the HoprChainError type

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(HoprChainError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HoprChainError)

Contains the error value