referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_contracts::chain_extension::Result

source ·
pub type Result<T> = Result<T, DispatchError>;
Expand description

Result that returns a [DispatchError] on error.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DispatchError)

Contains the error value