OnFailure<T> typedef

OnFailure<T> = void Function(T error)

Implementation

typedef void OnFailure<T>(T error);