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.
-
The success return state.
Declaration
Swift
case success(Success)
-
The failure return state.
Declaration
Swift
case failure(Failure)