pub type Result = Result<Option<Outcome>, Error>;
The Result type used in invoke().
invoke()
enum Result { Ok(Option<Outcome>), Err(Error), }
Contains the success value
Contains the error value