mapFailure

final Result<SuccessType, NewFailure> mapFailure<NewFailure extends Any>(Function1<FailureType, NewFailure> onFailure)