EosioResult

public enum EosioResult<Success, Failure> where Failure : Error

Provides typed results in closure returns so that there won’t be any nil return states to test for.

  • success: The success return state.
  • failure: The failure return state.