foldUnit

inline fun <E> Either<E, Unit>.foldUnit(error: (E) -> Unit)