Type Alias ink_primitives::MessageResult

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

The Result type for ink! messages.

Aliased Type§

enum MessageResult<T> {
    Ok(T),
    Err(LangError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LangError)

Contains the error value