Type Alias darkfi_sdk::error::ContractResult

source ·
pub type ContractResult = Result<(), ContractError>;

Aliased Type§

enum ContractResult {
    Ok(()),
    Err(ContractError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(ContractError)

Contains the error value