pub type MessageResult<T> = Result<T, LangError>;
The Result type for ink! messages.
Result
enum MessageResult<T> { Ok(T), Err(LangError), }
Contains the success value
Contains the error value