onError

fun <T, E : Throwable> Either<T, E>.onError(onError: (E) -> Unit): Either<T, E>(source)