Type Alias ink::ConstructorResult

pub type ConstructorResult<T> = Result<T, LangError>;
Expand description

The Result type for ink! constructors.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LangError)

Contains the error value