Type Alias darkfi_sdk::error::GenericResult

source ·
pub type GenericResult<T> = Result<T, ContractError>;

Aliased Type§

enum GenericResult<T> {
    Ok(T),
    Err(ContractError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ContractError)

Contains the error value